diff options
author | Joel Becker <joel.becker@oracle.com> | 2009-02-12 18:24:40 -0500 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2009-09-04 19:07:49 -0400 |
commit | 66fb345ddd2d343e36692da0ff66126d7a99dc1b (patch) | |
tree | 7e53f68bbf4c910cd81be7e39378d9552bbce4c3 /fs/ocfs2/inode.h | |
parent | 8cb471e8f82506937fe5e2e9fb0bf90f6b1f1170 (diff) |
ocfs2: move ip_last_trans to struct ocfs2_caching_info
We have the read side of metadata caching isolated to struct
ocfs2_caching_info, now we need the write side. This means the journal
functions. The journal only does a couple of things with struct inode.
This change moves the ip_last_trans field onto struct
ocfs2_caching_info as ci_last_trans. This field tells the journal
whether a pending journal flush is required.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/inode.h')
-rw-r--r-- | fs/ocfs2/inode.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ocfs2/inode.h b/fs/ocfs2/inode.h index b0a71b22712c..2cae2514e7fb 100644 --- a/fs/ocfs2/inode.h +++ b/fs/ocfs2/inode.h | |||
@@ -63,8 +63,6 @@ struct ocfs2_inode_info | |||
63 | /* next two are protected by trans_inc_lock */ | 63 | /* next two are protected by trans_inc_lock */ |
64 | /* which transaction were we created on? Zero if none. */ | 64 | /* which transaction were we created on? Zero if none. */ |
65 | unsigned long ip_created_trans; | 65 | unsigned long ip_created_trans; |
66 | /* last transaction we were a part of. */ | ||
67 | unsigned long ip_last_trans; | ||
68 | 66 | ||
69 | struct ocfs2_caching_info ip_metadata_cache; | 67 | struct ocfs2_caching_info ip_metadata_cache; |
70 | 68 | ||