From: Mark Fasheh Date: Wed, 9 Aug 2006 18:45:07 +0000 (-0700) Subject: ocfs2: move nlink check in ocfs2_mknod() X-Git-Tag: v2.6.19-rc1~1296^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a663e30513d7ecc77dd71d474e7646bf78c0ba62;p=pandora-kernel.git ocfs2: move nlink check in ocfs2_mknod() 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 --- Reading git-diff-tree failed