VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Goldwyn Rodrigues <rgoldwyn@suse.com> 2019-11-30 09:59:25 -0600 committer: David Sterba <dsterba@suse.com> 2020-05-25 13:12:53 +0200 commit: 3ad99bec6e82e32fa9faf2f84e74b134586b46f7 parent: 8cecd0ba854799cda72d03a470e7de9eed3ed6c4
Commit Summary:
iomap: remove lockdep_assert_held()
Diffstat:
1 file changed, 0 insertions, 2 deletions
diff --git a/fs/iomap/direct-io.c b/fs/iomap/direct-io.c
index f88ba6e7f6af..e4addfc58107 100644
--- a/fs/iomap/direct-io.c
+++ b/fs/iomap/direct-io.c
@@ -416,8 +416,6 @@ iomap_dio_rw(struct kiocb *iocb, struct iov_iter *iter,
 	struct blk_plug plug;
 	struct iomap_dio *dio;
 
-	lockdep_assert_held(&inode->i_rwsem);
-
 	if (!count)
 		return 0;