]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: remove a stale comment from xfs_file_aio_write_checks()
authorEric Biggers <ebiggers@google.com>
Sat, 23 Jan 2021 00:48:18 +0000 (16:48 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Sat, 23 Jan 2021 00:54:49 +0000 (16:54 -0800)
commit5a338c7aaa5e9c4f696cfb891f10c1babca12d74
tree59db0ca88666f5be8169dc6aea061e01339c4211
parenta19147c00296dca6eb2ba36ee5fd0cfb13420b56
xfs: remove a stale comment from xfs_file_aio_write_checks()

The comment in xfs_file_aio_write_checks() about calling file_modified()
after dropping the ilock doesn't make sense, because the code that
unconditionally acquires and drops the ilock was removed by
commit 827bd7e0d6ec ("xfs: reduce ilock hold times in
xfs_file_aio_write_checks").

Remove this outdated comment.

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