summaryrefslogtreecommitdiff
path: root/fs/aufs/dbgaufs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/aufs/dbgaufs.c')
-rw-r--r--fs/aufs/dbgaufs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/aufs/dbgaufs.c b/fs/aufs/dbgaufs.c
index f85a813a4..4db01e853 100644
--- a/fs/aufs/dbgaufs.c
+++ b/fs/aufs/dbgaufs.c
@@ -256,7 +256,10 @@ void dbgaufs_brs_del(struct super_block *sb, aufs_bindex_t bindex)
for (; bindex <= bbot; bindex++) {
br = au_sbr(sb, bindex);
xi = &br->br_xino;
+ /* debugfs acquires the parent i_mutex */
+ lockdep_off();
debugfs_remove(xi->xi_dbgaufs);
+ lockdep_on();
xi->xi_dbgaufs = NULL;
}
}