Re: [PATCH 2/2] ksmbd: retrieve number of blocks using vfs_getattr in set_file_allocation_info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 20, 2024 at 03:26:01PM +0100, Marios Makassikis wrote:
> Use vfs_getattr() as inode->i_blocks may be 0 on some filesystems (XFS
> for example).

Same comment as for patch 1.  The code changes also look good to me.





[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux