X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=fs%2Focfs2%2Fjournal.h;h=eb7b76331eb7733f4d9f4a5494b3509054a886b1;hb=2142babac999a5ba169348892a8e3ac222bec7a4;hp=619dd7f6c053c1562863707bebc7c3c6e1753b52;hpb=89de3820c7ae615345c093ae6fddac01f326fdc4;p=sfrench%2Fcifs-2.6.git diff --git a/fs/ocfs2/journal.h b/fs/ocfs2/journal.h index 619dd7f6c053..eb7b76331eb7 100644 --- a/fs/ocfs2/journal.h +++ b/fs/ocfs2/journal.h @@ -437,8 +437,9 @@ static inline int ocfs2_unlink_credits(struct super_block *sb) } /* dinode + orphan dir dinode + inode alloc dinode + orphan dir entry + - * inode alloc group descriptor + orphan dir index leaf */ -#define OCFS2_DELETE_INODE_CREDITS (3 * OCFS2_INODE_UPDATE_CREDITS + 3) + * inode alloc group descriptor + orphan dir index root + + * orphan dir index leaf */ +#define OCFS2_DELETE_INODE_CREDITS (3 * OCFS2_INODE_UPDATE_CREDITS + 4) /* dinode update, old dir dinode update, new dir dinode update, old * dir dir entry, new dir dir entry, dir entry update for renaming