diff options
author | Jan Kara <jack@suse.cz> | 2008-01-10 18:11:45 -0500 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2008-01-25 18:05:44 -0500 |
commit | 5fa0613ea58a80f69852b242337121bd39dc798e (patch) | |
tree | 21170694624428a8903efc6cba843fd10de93c64 /fs/ocfs2/super.c | |
parent | 53fc622b9e829c8e632e45ef8c14f054388759c1 (diff) |
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/super.c')
-rw-r--r-- | fs/ocfs2/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index 4a091f586646..01fe40ee5ea9 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c | |||
@@ -220,7 +220,7 @@ static int ocfs2_init_global_system_inodes(struct ocfs2_super *osb) | |||
220 | 220 | ||
221 | mlog_entry_void(); | 221 | mlog_entry_void(); |
222 | 222 | ||
223 | new = ocfs2_iget(osb, osb->root_blkno, OCFS2_FI_FLAG_SYSFILE); | 223 | new = ocfs2_iget(osb, osb->root_blkno, OCFS2_FI_FLAG_SYSFILE, 0); |
224 | if (IS_ERR(new)) { | 224 | if (IS_ERR(new)) { |
225 | status = PTR_ERR(new); | 225 | status = PTR_ERR(new); |
226 | mlog_errno(status); | 226 | mlog_errno(status); |
@@ -228,7 +228,7 @@ static int ocfs2_init_global_system_inodes(struct ocfs2_super *osb) | |||
228 | } | 228 | } |
229 | osb->root_inode = new; | 229 | osb->root_inode = new; |
230 | 230 | ||
231 | new = ocfs2_iget(osb, osb->system_dir_blkno, OCFS2_FI_FLAG_SYSFILE); | 231 | new = ocfs2_iget(osb, osb->system_dir_blkno, OCFS2_FI_FLAG_SYSFILE, 0); |
232 | if (IS_ERR(new)) { | 232 | if (IS_ERR(new)) { |
233 | status = PTR_ERR(new); | 233 | status = PTR_ERR(new); |
234 | mlog_errno(status); | 234 | mlog_errno(status); |