diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2023-05-19 23:11:33 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-06-09 10:34:27 +0200 |
commit | 4c6bdaacb3cbc4d77d4424e6e7d16c79e28ef494 (patch) | |
tree | 73f863390b045e9be5e4c097b50de20f0180b040 /scripts/Makefile.userprogs | |
parent | f7add4d1598ac9df930568f37aa072588e938f20 (diff) | |
download | linux-stable-4c6bdaacb3cbc4d77d4424e6e7d16c79e28ef494.tar.gz linux-stable-4c6bdaacb3cbc4d77d4424e6e7d16c79e28ef494.tar.bz2 linux-stable-4c6bdaacb3cbc4d77d4424e6e7d16c79e28ef494.zip |
ksmbd: fix incorrect AllocationSize set in smb2_get_info
commit 6cc2268f5647cbfde3d4fc2e4ee005070ea3a8d2 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.userprogs')
0 files changed, 0 insertions, 0 deletions