]> err.no Git - linux-2.6/commit
ocfs2: ocfs2_link() journal credits update
authorMark Fasheh <mark.fasheh@oracle.com>
Thu, 1 Feb 2007 19:40:16 +0000 (11:40 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Thu, 1 Feb 2007 20:03:19 +0000 (12:03 -0800)
commite051fda4fd14fe878e6d2183b3a4640febe9e9a8
treebb7b11a3cdceffbe2c6c74d3babbae8d20a02e17
parent190ff5b3a168b666925897558998b5d97fec8731
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>
fs/ocfs2/journal.h