summaryrefslogtreecommitdiff
path: root/fs/ocfs2/journal.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2008-01-11 00:11:45 +0100
committerMark Fasheh <mark.fasheh@oracle.com>2008-01-25 15:05:44 -0800
commit5fa0613ea58a80f69852b242337121bd39dc798e (patch)
tree21170694624428a8903efc6cba843fd10de93c64 /fs/ocfs2/journal.c
parent53fc622b9e829c8e632e45ef8c14f054388759c1 (diff)
downloadlinux-3.10-5fa0613ea58a80f69852b242337121bd39dc798e.tar.gz
linux-3.10-5fa0613ea58a80f69852b242337121bd39dc798e.tar.bz2
linux-3.10-5fa0613ea58a80f69852b242337121bd39dc798e.zip
ocfs2: Silence false lockdep warnings
Create separate lockdep lock classes for system file's i_mutexes. They are used to guard allocations and similar things and thus rank differently than i_mutex of a regular file or directory. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/journal.c')
-rw-r--r--fs/ocfs2/journal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c
index 8b9ce2a729a..f31c7e8c19c 100644
--- a/fs/ocfs2/journal.c
+++ b/fs/ocfs2/journal.c
@@ -1244,7 +1244,7 @@ static int ocfs2_orphan_filldir(void *priv, const char *name, int name_len,
/* Skip bad inodes so that recovery can continue */
iter = ocfs2_iget(p->osb, ino,
- OCFS2_FI_FLAG_ORPHAN_RECOVERY);
+ OCFS2_FI_FLAG_ORPHAN_RECOVERY, 0);
if (IS_ERR(iter))
return 0;