summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/inode.h
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2009-02-13 00:41:59 +0100
committerJoel Becker <joel.becker@oracle.com>2009-09-05 01:07:49 +0200
commit292dd27ec76b96cebcef576f330ab121f59ccf05 (patch)
treed98f4d359f610e7dad53eb5b68fdb1517a043fb3 /fs/ocfs2/inode.h
parentocfs2: move ip_last_trans to struct ocfs2_caching_info (diff)
downloadlinux-292dd27ec76b96cebcef576f330ab121f59ccf05.tar.xz
linux-292dd27ec76b96cebcef576f330ab121f59ccf05.zip
ocfs2: move ip_created_trans to struct ocfs2_caching_info
Similar ip_last_trans, ip_created_trans tracks the creation of a journal managed inode. This specifically tracks what transaction created the inode. This is so the code can know if the inode has ever been written to disk. This behavior is desirable for any journal managed object. We move it to struct ocfs2_caching_info as ci_created_trans so that any object using ocfs2_caching_info can rely on this behavior. Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/inode.h')
-rw-r--r--fs/ocfs2/inode.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/ocfs2/inode.h b/fs/ocfs2/inode.h
index 2cae2514e7fb..67392f60629d 100644
--- a/fs/ocfs2/inode.h
+++ b/fs/ocfs2/inode.h
@@ -60,10 +60,6 @@ struct ocfs2_inode_info
u32 ip_dir_start_lookup;
- /* next two are protected by trans_inc_lock */
- /* which transaction were we created on? Zero if none. */
- unsigned long ip_created_trans;
-
struct ocfs2_caching_info ip_metadata_cache;
struct ocfs2_extent_map ip_extent_map;