projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ocfs2_dlm: Call cond_resched_lock() once per hash bucket scan
[powerpc.git]
/
fs
/
ocfs2
/
journal.h
diff --git
a/fs/ocfs2/journal.h
b/fs/ocfs2/journal.h
index
e121636
..
d026b4f
100644
(file)
--- a/
fs/ocfs2/journal.h
+++ b/
fs/ocfs2/journal.h
@@
-306,8
+306,8
@@
int ocfs2_journal_dirty_data(handle_t *handle,
* for the dinode, one for the new block. */
#define OCFS2_SIMPLE_DIR_EXTEND_CREDITS (2)
* for the dinode, one for the new block. */
#define OCFS2_SIMPLE_DIR_EXTEND_CREDITS (2)
-/* file update (nlink, etc) + dir entry block */
-#define OCFS2_LINK_CREDITS (OCFS2_INODE_UPDATE_CREDITS + 1)
+/* file update (nlink, etc) + dir
ectory mtime/ctime + dir
entry block */
+#define OCFS2_LINK_CREDITS (
2*
OCFS2_INODE_UPDATE_CREDITS + 1)
/* inode + dir inode (if we unlink a dir), + dir entry block + orphan
* dir inode link */
/* inode + dir inode (if we unlink a dir), + dir entry block + orphan
* dir inode link */