summaryrefslogtreecommitdiffstats
path: root/include/linux/gfs2_ondisk.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-10-31 21:45:08 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2006-11-30 10:34:11 -0500
commite7f14f4d094ea1a9ce1953375f5bc1500c760c79 (patch)
treeda539b26dedd351ecb591e7ccb571b94a679452e /include/linux/gfs2_ondisk.h
parentaf339c0241d0dd3b35f9097b4f4999bb22ffe502 (diff)
downloadop-kernel-dev-e7f14f4d094ea1a9ce1953375f5bc1500c760c79.zip
op-kernel-dev-e7f14f4d094ea1a9ce1953375f5bc1500c760c79.tar.gz
[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/gfs2_ondisk.h')
-rw-r--r--include/linux/gfs2_ondisk.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/gfs2_ondisk.h b/include/linux/gfs2_ondisk.h
index c0e76fc..5bcf895 100644
--- a/include/linux/gfs2_ondisk.h
+++ b/include/linux/gfs2_ondisk.h
@@ -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
OpenPOWER on IntegriCloud