]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
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)
commit8553cf4f360d6fc4913a0bdd3b22dd7b5bb9a3be
tree705bedbd5dcaf12e1ed8bb3c3f6fc8f9bd828477
parent38760e243249f03b4c6d78ca624dd846a2681b67
ocfs2: Cleanup dirent size check

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>
fs/ocfs2/dir.c