]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ocfs2: ocfs2_link() journal credits update
authorMark Fasheh <mark.fasheh@oracle.com>
Tue, 6 Mar 2007 00:34:11 +0000 (16:34 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Mar 2007 18:50:16 +0000 (10:50 -0800)
commit89417b1a154b1963d739c56585a45df42a9a9107
tree9083f25af7e93cd218c10815e1f3b00c233509a9
parent8d1117a9f5d302d8d460fbe7ef322b382e45c9ce
ocfs2: ocfs2_link() journal credits update

Commit 592282cf2eaa33409c6511ddd3f3ecaa57daeaaa fixed some missing directory
c/mtime updates in part by introducing a dinode update in ocfs2_add_entry().
Unfortunately, ocfs2_link() (which didn't update the directory inode before)
is now missing a single journal credit. Fix this by doubling the number of
inode updates expected during hard link creation.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
fs/ocfs2/journal.h