mirror of
https://github.com/adulau/aha.git
synced 2025-01-01 13:46:24 +00:00
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2
* 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2: ocfs2: ocfs2_link() journal credits update
This commit is contained in:
commit
dda2ac15d2
1 changed files with 2 additions and 2 deletions
|
@ -306,8 +306,8 @@ int ocfs2_journal_dirty_data(handle_t *handle,
|
||||||
* for the dinode, one for the new block. */
|
* for the dinode, one for the new block. */
|
||||||
#define OCFS2_SIMPLE_DIR_EXTEND_CREDITS (2)
|
#define OCFS2_SIMPLE_DIR_EXTEND_CREDITS (2)
|
||||||
|
|
||||||
/* file update (nlink, etc) + dir entry block */
|
/* file update (nlink, etc) + directory mtime/ctime + dir entry block */
|
||||||
#define OCFS2_LINK_CREDITS (OCFS2_INODE_UPDATE_CREDITS + 1)
|
#define OCFS2_LINK_CREDITS (2*OCFS2_INODE_UPDATE_CREDITS + 1)
|
||||||
|
|
||||||
/* inode + dir inode (if we unlink a dir), + dir entry block + orphan
|
/* inode + dir inode (if we unlink a dir), + dir entry block + orphan
|
||||||
* dir inode link */
|
* dir inode link */
|
||||||
|
|
Loading…
Reference in a new issue