]> 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)
commit082d9839ec713e3ecde3f4669f4f8c0f13476f2f
tree977c4f3e7b12977e4356669947504a6e9badb601
parent44513aecec0ce1f83ee4f1560b9736bf53928814
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