]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8cedf77854967c2bd4745e08401982ff161b8bad
tree977c4f3e7b12977e4356669947504a6e9badb601
parent759716d4dfab8047844f8f412b67b6b10253810f
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