ocfs2: Cleanup dirent size check
authorMark Fasheh <mark.fasheh@oracle.com>
Thu, 13 Sep 2007 23:29:01 +0000 (16:29 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Fri, 12 Oct 2007 18:54:39 +0000 (11:54 -0700)
The check to see if a new dirent would fit in an old one is pretty ugly, and
it's done at least twice. Clean things up by putting this in it's own
easier-to-read function.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Reviewed-by: Joel Becker <joel.becker@oracle.com>

No differences found