iomap: remove lockdep_assert_held()
authorGoldwyn Rodrigues <rgoldwyn@suse.com>
Sat, 30 Nov 2019 15:59:25 +0000 (09:59 -0600)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 May 2020 11:12:53 +0000 (13:12 +0200)
commit3ad99bec6e82e32fa9faf2f84e74b134586b46f7
tree977c4f3e7b12977e4356669947504a6e9badb601
parent8cecd0ba854799cda72d03a470e7de9eed3ed6c4
iomap: remove lockdep_assert_held()

Filesystems such as btrfs can perform direct I/O without holding the
inode->i_rwsem in some of the cases like writing within i_size.  So,
remove the check for lockdep_assert_held() in iomap_dio_rw().

Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/iomap/direct-io.c