]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ocfs2/journal.h
ocfs2: Write support for inline data
[linux-2.6-omap-h63xx.git] / fs / ocfs2 / journal.h
index ce60aab013aa2f7645fddb317b9a8c342654a50b..4b32e0961568e34372a7ad02c7c8b77b3e0c6c24 100644 (file)
@@ -282,6 +282,9 @@ int                  ocfs2_journal_dirty_data(handle_t *handle,
  * prev. group desc. if we relink. */
 #define OCFS2_SUBALLOC_ALLOC (3)
 
+#define OCFS2_INLINE_TO_EXTENTS_CREDITS (OCFS2_SUBALLOC_ALLOC          \
+                                        + OCFS2_INODE_UPDATE_CREDITS)
+
 /* dinode + group descriptor update. We don't relink on free yet. */
 #define OCFS2_SUBALLOC_FREE  (2)