]> git.baikalelectronics.ru Git - kernel.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)
commit252b68852d86d55d5193a5c5a4604068b95a3910
treefa05be76a421b431b98530f9d694fed55ca2ad0d
parent5715d66e8b0094032fd04df99c8b534d92b3acbd
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