diff options
author | Jan Kara <jack@suse.cz> | 2008-01-11 00:11:45 +0100 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2008-01-26 00:05:44 +0100 |
commit | 5fa0613ea58a80f69852b242337121bd39dc798e (patch) | |
tree | 21170694624428a8903efc6cba843fd10de93c64 /fs/ocfs2/namei.c | |
parent | [PATCH 2/2] ocfs2: cluster aware flock() (diff) | |
download | linux-5fa0613ea58a80f69852b242337121bd39dc798e.tar.xz linux-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/namei.c')
-rw-r--r-- | fs/ocfs2/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/namei.c b/fs/ocfs2/namei.c index 74018caf8053..ae9ad9587516 100644 --- a/fs/ocfs2/namei.c +++ b/fs/ocfs2/namei.c @@ -128,7 +128,7 @@ static struct dentry *ocfs2_lookup(struct inode *dir, struct dentry *dentry, if (status < 0) goto bail_add; - inode = ocfs2_iget(OCFS2_SB(dir->i_sb), blkno, 0); + inode = ocfs2_iget(OCFS2_SB(dir->i_sb), blkno, 0, 0); if (IS_ERR(inode)) { ret = ERR_PTR(-EACCES); goto bail_unlock; |