aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-11-01 14:04:17 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2006-11-30 10:34:20 -0500
commit4f56110a00af5fb2e22fbccfcaf944d62cae8fcf (patch)
tree764e9b9e6b48637f6b3339496fa11e7047c37899 /include/linux
parent2933f9254a6af33db25270778c998a42029da668 (diff)
[GFS2] Shrink gfs2_inode (5) - di_nlink
Remove the di_nlink field in favour of inode->i_nlink and update the nlink handling to use the proper macros. This saves 4 bytes. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/gfs2_ondisk.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/gfs2_ondisk.h b/include/linux/gfs2_ondisk.h
index 896c7f81a637..c61517b35b2e 100644
--- a/include/linux/gfs2_ondisk.h
+++ b/include/linux/gfs2_ondisk.h
@@ -322,7 +322,6 @@ struct gfs2_dinode {
322}; 322};
323 323
324struct gfs2_dinode_host { 324struct gfs2_dinode_host {
325 __u32 di_nlink; /* number of links to this file */
326 __u64 di_size; /* number of bytes in file */ 325 __u64 di_size; /* number of bytes in file */
327 __u64 di_blocks; /* number of blocks in file */ 326 __u64 di_blocks; /* number of blocks in file */
328 __u64 di_atime; /* time last accessed */ 327 __u64 di_atime; /* time last accessed */