Skip to content
Commit 34cd86b6 authored by Marios Makassikis's avatar Marios Makassikis Committed by Steve French
Browse files

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: default avatarMarios Makassikis <mmakassikis@freebox.fr>
Acked-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 5614c8c4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment