summaryrefslogtreecommitdiff
path: root/fs/ocfs2/journal.h
diff options
context:
space:
mode:
authorSunil Mushran <sunil.mushran@oracle.com>2009-04-21 08:34:18 +0400
committerJoel Becker <joel.becker@oracle.com>2009-04-24 01:56:13 +0400
commita5a0a630922a2f6a774b6dac19f70cb5abd86bb0 (patch)
tree6f6106eff47a9d53971ad9fe7b408ac1ae8f12c5 /fs/ocfs2/journal.h
parent5b09b507daaa882d888b6cd78ee89ba9caace44b (diff)
downloadlinux-a5a0a630922a2f6a774b6dac19f70cb5abd86bb0.tar.xz
ocfs2: Add missing iput() during error handling in ocfs2_dentry_attach_lock()
In ocfs2_dentry_attach_lock(), if unable to get the dentry lock, we need to call iput(inode) because a failure here means no d_instantiate(), which means the normally matching iput() will not be called during dput(dentry). This patch fixes the oops that accompanies the following message: (3996,1):dlm_empty_lockres:2708 ERROR: lockres W00000000000000000a1046b06a4382 still has local locks! kernel BUG in dlm_empty_lockres at /rpmbuild/smushran/BUILD/ocfs2-1.4.2/fs/ocfs2/dlm/dlmmaster.c:2709! Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/journal.h')
0 files changed, 0 insertions, 0 deletions