ocfs2: move ip_created_trans to struct ocfs2_caching_info
commit292dd27ec76b96cebcef576f330ab121f59ccf05
authorJoel Becker <joel.becker@oracle.com>
Thu, 12 Feb 2009 23:41:59 +0000 (12 15:41 -0800)
committerJoel Becker <joel.becker@oracle.com>
Fri, 4 Sep 2009 23:07:49 +0000 (4 16:07 -0700)
treed98f4d359f610e7dad53eb5b68fdb1517a043fb3
parent66fb345ddd2d343e36692da0ff66126d7a99dc1b
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>
fs/ocfs2/inode.c
fs/ocfs2/inode.h
fs/ocfs2/journal.h
fs/ocfs2/ocfs2.h
fs/ocfs2/super.c
fs/ocfs2/uptodate.c