git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ocfs2: move ip_created_trans to struct ocfs2_caching_info
[safe/jmp/linux-2.6]
/
fs
/
ocfs2
/
uptodate.c
diff --git
a/fs/ocfs2/uptodate.c
b/fs/ocfs2/uptodate.c
index
81c8220
..
b6284f2
100644
(file)
--- a/
fs/ocfs2/uptodate.c
+++ b/
fs/ocfs2/uptodate.c
@@
-124,8
+124,10
@@
static void ocfs2_metadata_cache_reset(struct ocfs2_caching_info *ci,
ci->ci_flags |= OCFS2_CACHE_FL_INLINE;
ci->ci_num_cached = 0;
- if (clear)
+ if (clear) {
+ ci->ci_created_trans = 0;
ci->ci_last_trans = 0;
+ }
}
void ocfs2_metadata_cache_init(struct ocfs2_caching_info *ci,