On 08.02.21 09:46, Miaohe Lin wrote:
The function hugetlb_vmtruncate() is guaranteed to always success since
commit 7aa91e104028 ("hugetlb: allow extending ftruncate on hugetlbfs").
So we should remove the unneeded return value which is always 0.
Signed-off-by: Miaohe Lin
---
fs/hugetlbfs/ino
On 2/8/21 12:46 AM, Miaohe Lin wrote:
> The function hugetlb_vmtruncate() is guaranteed to always success since
> commit 7aa91e104028 ("hugetlb: allow extending ftruncate on hugetlbfs").
> So we should remove the unneeded return value which is always 0.
>
> Signed-off-by: Miaohe Lin
> ---
> fs/h
The function hugetlb_vmtruncate() is guaranteed to always success since
commit 7aa91e104028 ("hugetlb: allow extending ftruncate on hugetlbfs").
So we should remove the unneeded return value which is always 0.
Signed-off-by: Miaohe Lin
---
fs/hugetlbfs/inode.c | 7 ++-
1 file changed, 2 inse
3 matches
Mail list logo