diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-10-31 21:45:08 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-30 10:34:11 -0500 |
commit | e7f14f4d094ea1a9ce1953375f5bc1500c760c79 (patch) | |
tree | da539b26dedd351ecb591e7ccb571b94a679452e /include/linux | |
parent | af339c0241d0dd3b35f9097b4f4999bb22ffe502 (diff) |
[GFS2] Shrink gfs2_inode (2) - di_major/di_minor
This removes the device numbers from this structure by using
inode->i_rdev instead. It also cleans up the code in gfs2_mknod.
It results in shrinking the gfs2_inode by 8 bytes.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/gfs2_ondisk.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/gfs2_ondisk.h b/include/linux/gfs2_ondisk.h index c0e76fc718c7..5bcf895b2731 100644 --- a/include/linux/gfs2_ondisk.h +++ b/include/linux/gfs2_ondisk.h | |||
@@ -331,8 +331,6 @@ struct gfs2_dinode_host { | |||
331 | __u64 di_atime; /* time last accessed */ | 331 | __u64 di_atime; /* time last accessed */ |
332 | __u64 di_mtime; /* time last modified */ | 332 | __u64 di_mtime; /* time last modified */ |
333 | __u64 di_ctime; /* time last changed */ | 333 | __u64 di_ctime; /* time last changed */ |
334 | __u32 di_major; /* device major number */ | ||
335 | __u32 di_minor; /* device minor number */ | ||
336 | 334 | ||
337 | /* This section varies from gfs1. Padding added to align with | 335 | /* This section varies from gfs1. Padding added to align with |
338 | * remainder of dinode | 336 | * remainder of dinode |