]> asedeno.scripts.mit.edu Git - linux.git/commit
xfs: don't log the inode in xfs_fs_map_blocks if it
authorChristoph Hellwig <hch@lst.de>
Wed, 30 Oct 2019 19:24:58 +0000 (12:24 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sun, 3 Nov 2019 18:22:30 +0000 (10:22 -0800)
commit307cdb54b80e036978b7b717abcbcfdac0b34e38
treefa05be76a421b431b98530f9d694fed55ca2ad0d
parent88cdb7147b21b2d8b4bd3f3d95ce0bffd73e1ac3
xfs: don't log the inode in xfs_fs_map_blocks if it

Even if we are asked for a write layout there is no point in logging
the inode unless we actually modified it in some way.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_pnfs.c