diff options
author | Marios Makassikis <mmakassikis@freebox.fr> | 2024-02-22 10:58:21 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-03-12 00:36:39 -0500 |
commit | 34cd86b6632718b7df3999d96f51e63de41c5e4f (patch) | |
tree | 1724a9f4e840c0014d00598f5e5bd8587fc510c5 /fs/smb/server/mgmt | |
parent | 5614c8c487f6af627614dd2efca038e4afe0c6d7 (diff) |
ksmbd: retrieve number of blocks using vfs_getattr in set_file_allocation_info
Use vfs_getattr() to retrieve stat information, rather than make
assumptions about how a filesystem fills inode structs.
Cc: stable@vger.kernel.org
Signed-off-by: Marios Makassikis <mmakassikis@freebox.fr>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/server/mgmt')
0 files changed, 0 insertions, 0 deletions