summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2008-11-04 09:47:33 +0000
committerSteven Whitehouse <swhiteho@redhat.com>2009-01-05 07:38:58 +0000
commitc9e98886776386f1f7828d9685e78cd341849867 (patch)
tree5bf4ac819d1e9394f960f21a48881a9d2f9f69fe /fs/gfs2/incore.h
parent3767ac21f471fe669a7d9f6abef682ddac8fc3d8 (diff)
downloadlinux-stable-c9e98886776386f1f7828d9685e78cd341849867.tar.gz
linux-stable-c9e98886776386f1f7828d9685e78cd341849867.tar.bz2
linux-stable-c9e98886776386f1f7828d9685e78cd341849867.zip
GFS2: Move i_size from gfs2_dinode_host and rename it to i_disksize
This patch moved the i_size field from the gfs2_dinode_host and following the ext3 convention renames it i_disksize. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r--fs/gfs2/incore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index fb2fd4adaae4..4596cd254be6 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -234,7 +234,6 @@ enum {
};
struct gfs2_dinode_host {
- u64 di_size; /* number of bytes in file */
u32 di_flags; /* GFS2_DIF_... */
};
@@ -244,6 +243,7 @@ struct gfs2_inode {
u64 i_no_formal_ino;
u64 i_generation;
u64 i_eattr;
+ loff_t i_disksize;
unsigned long i_flags; /* GIF_... */
struct gfs2_dinode_host i_di; /* To be replaced by ref to block */