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.
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.