]> asedeno.scripts.mit.edu Git - linux.git/commit
iomap: always use AOP_FLAG_NOFS in iomap_write_begin
authorChristoph Hellwig <hch@lst.de>
Fri, 18 Oct 2019 23:41:12 +0000 (16:41 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 21 Oct 2019 15:51:59 +0000 (08:51 -0700)
commitdcd6158d15c7a57d448103e1d51dac5e1a19a406
treedff0d2be82fb5081e8895c13d294f883c8e32139
parentc12d6fa88d09044df8bc91efa0e1a6fd2c5c0e1c
iomap: always use AOP_FLAG_NOFS in iomap_write_begin

All callers pass AOP_FLAG_NOFS, so lift that flag to iomap_write_begin
to allow reusing the flags arguments for an internal flags namespace
soon.  Also remove the local index variable that is only used once.

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/iomap/buffered-io.c