diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-01 12:22:46 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-30 10:34:14 -0500 |
commit | b60623c238b6a819bd04090139704e2cb57a751f (patch) | |
tree | fcecc0599003db66d937138be94bef4b4372f15b /fs/gfs2/eaops.c | |
parent | e7f14f4d094ea1a9ce1953375f5bc1500c760c79 (diff) | |
download | op-kernel-dev-b60623c238b6a819bd04090139704e2cb57a751f.zip op-kernel-dev-b60623c238b6a819bd04090139704e2cb57a751f.tar.gz |
[GFS2] Shrink gfs2_inode (3) - di_mode
This removes the duplicate di_mode field in favour of using the
inode->i_mode field. This saves 4 bytes.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/eaops.c')
-rw-r--r-- | fs/gfs2/eaops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/eaops.c b/fs/gfs2/eaops.c index 92c54e9..cd747c0 100644 --- a/fs/gfs2/eaops.c +++ b/fs/gfs2/eaops.c @@ -120,7 +120,7 @@ static int system_eo_set(struct gfs2_inode *ip, struct gfs2_ea_request *er) if (GFS2_ACL_IS_ACCESS(er->er_name, er->er_name_len)) { if (!(er->er_flags & GFS2_ERF_MODE)) { - er->er_mode = ip->i_di.di_mode; + er->er_mode = ip->i_inode.i_mode; er->er_flags |= GFS2_ERF_MODE; } error = gfs2_acl_validate_set(ip, 1, er, |