projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs: assert that open_mutex isn't held over holder ops
[linux-2.6-microblaze.git]
/
fs
/
super.c
diff --git
a/fs/super.c
b/fs/super.c
index
799b8db
..
c7b452e
100644
(file)
--- a/
fs/super.c
+++ b/
fs/super.c
@@
-1433,6
+1433,7
@@
static struct super_block *bdev_super_lock_shared(struct block_device *bdev)
lockdep_assert_held(&bdev->bd_holder_lock);
lockdep_assert_not_held(&sb->s_umount);
+ lockdep_assert_not_held(&bdev->bd_disk->open_mutex);
/* Make sure sb doesn't go away from under us */
spin_lock(&sb_lock);