ocfs2: reserve xattr block for new directory with inline data
authorTiger Yang <tiger.yang@oracle.com>
Fri, 6 Mar 2009 02:19:30 +0000 (10:19 +0800)
committerMark Fasheh <mfasheh@suse.com>
Thu, 12 Mar 2009 23:45:40 +0000 (16:45 -0700)
commit6c9fd1dc0a597e575617a7de7086c8a3efa8f524
treebda5cb32ef359dc97aa71ea73072f534f5c6f99b
parentebdcc81c71937b30e09110c02a1e8a21fa770b6f
ocfs2: reserve xattr block for new directory with inline data

If this is a new directory with inline data, we choose to
reserve the entire inline area for directory contents and
force an external xattr block.

Signed-off-by: Tiger Yang <tiger.yang@oracle.com>
Acked-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/xattr.c