diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2008-11-04 10:05:22 +0000 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2009-01-05 07:38:59 +0000 |
commit | 383f01fbf4a701b73f5e35ea805ed1700b4b4db9 (patch) | |
tree | b2b7a1a188088f319a29e8cc4cc924490837352b /fs/gfs2/inode.h | |
parent | c9e98886776386f1f7828d9685e78cd341849867 (diff) | |
download | kernel-crypto-383f01fbf4a701b73f5e35ea805ed1700b4b4db9.tar.gz kernel-crypto-383f01fbf4a701b73f5e35ea805ed1700b4b4db9.tar.xz kernel-crypto-383f01fbf4a701b73f5e35ea805ed1700b4b4db9.zip |
GFS2: Banish struct gfs2_dinode_host
The final field in gfs2_dinode_host was the i_flags field. Thats
renamed to i_diskflags in order to avoid confusion with the existing
inode flags, and moved into the inode proper at a suitable location
to avoid creating a "hole".
At that point struct gfs2_dinode_host is no longer needed and as
promised (quite some time ago!) it can now be removed completely.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/inode.h')
-rw-r--r-- | fs/gfs2/inode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/inode.h b/fs/gfs2/inode.h index c3577906f0a..d5329364cdf 100644 --- a/fs/gfs2/inode.h +++ b/fs/gfs2/inode.h @@ -20,7 +20,7 @@ static inline int gfs2_is_stuffed(const struct gfs2_inode *ip) static inline int gfs2_is_jdata(const struct gfs2_inode *ip) { - return ip->i_di.di_flags & GFS2_DIF_JDATA; + return ip->i_diskflags & GFS2_DIF_JDATA; } static inline int gfs2_is_writeback(const struct gfs2_inode *ip) |