[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>
This commit is contained in:
Steven Whitehouse 2006-10-31 21:45:08 -05:00
parent af339c0241
commit e7f14f4d09
5 changed files with 22 additions and 60 deletions

View file

@ -331,8 +331,6 @@ struct gfs2_dinode_host {
__u64 di_atime; /* time last accessed */
__u64 di_mtime; /* time last modified */
__u64 di_ctime; /* time last changed */
__u32 di_major; /* device major number */
__u32 di_minor; /* device minor number */
/* This section varies from gfs1. Padding added to align with
* remainder of dinode