ocfs2: Fix directory link count checks in ocfs2_link()
authorTiger Yang <tiger.yang@oracle.com>
Fri, 1 Sep 2006 03:39:47 +0000 (20:39 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 20 Sep 2006 22:52:27 +0000 (15:52 -0700)
Remove the redundant "i_nlink >= OCFS2_LINK_MAX" check and adds an unlinked
directory check in ocfs2_link().

Signed-off-by: Tiger Yang <tiger.yang@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>

No differences found