ocfs2: move nlink check in ocfs2_mknod()
authorMark Fasheh <mark.fasheh@oracle.com>
Wed, 9 Aug 2006 18:45:07 +0000 (11:45 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 20 Sep 2006 22:52:08 +0000 (15:52 -0700)
The dir nlink check in ocfs2_mknod() was being done outside of the cluster
lock, which means we could have been checking against a stale version of the
inode. Fix this by doing the check after the cluster lock instead.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>

No differences found