diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2023-05-19 23:11:33 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-05-26 20:27:46 -0500 |
commit | 6cc2268f5647cbfde3d4fc2e4ee005070ea3a8d2 (patch) | |
tree | ac80563761c9a22a1d854d65d9627ea375a78c70 /fs/smb/server/vfs.c | |
parent | 36322523dddb11107e9f7f528675a0dec2536103 (diff) |
ksmbd: fix incorrect AllocationSize set in smb2_get_info
If filesystem support sparse file, ksmbd should return allocated size
using ->i_blocks instead of stat->size. This fix generic/694 xfstests.
Cc: stable@vger.kernel.org
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/server/vfs.c')
0 files changed, 0 insertions, 0 deletions