aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/eattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/eattr.c')
-rw-r--r--fs/gfs2/eattr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/gfs2/eattr.c b/fs/gfs2/eattr.c
index 9b7bb565b59d..5208fa94aad2 100644
--- a/fs/gfs2/eattr.c
+++ b/fs/gfs2/eattr.c
@@ -711,9 +711,9 @@ static int ea_alloc_skeleton(struct gfs2_inode *ip, struct gfs2_ea_request *er,
711 if (!error) { 711 if (!error) {
712 if (er->er_flags & GFS2_ERF_MODE) { 712 if (er->er_flags & GFS2_ERF_MODE) {
713 gfs2_assert_withdraw(GFS2_SB(&ip->i_inode), 713 gfs2_assert_withdraw(GFS2_SB(&ip->i_inode),
714 (ip->i_di.di_mode & S_IFMT) == 714 (ip->i_inode.i_mode & S_IFMT) ==
715 (er->er_mode & S_IFMT)); 715 (er->er_mode & S_IFMT));
716 ip->i_di.di_mode = er->er_mode; 716 ip->i_inode.i_mode = er->er_mode;
717 } 717 }
718 ip->i_di.di_ctime = get_seconds(); 718 ip->i_di.di_ctime = get_seconds();
719 gfs2_trans_add_bh(ip->i_gl, dibh, 1); 719 gfs2_trans_add_bh(ip->i_gl, dibh, 1);
@@ -847,8 +847,8 @@ static int ea_set_simple_noalloc(struct gfs2_inode *ip, struct buffer_head *bh,
847 847
848 if (er->er_flags & GFS2_ERF_MODE) { 848 if (er->er_flags & GFS2_ERF_MODE) {
849 gfs2_assert_withdraw(GFS2_SB(&ip->i_inode), 849 gfs2_assert_withdraw(GFS2_SB(&ip->i_inode),
850 (ip->i_di.di_mode & S_IFMT) == (er->er_mode & S_IFMT)); 850 (ip->i_inode.i_mode & S_IFMT) == (er->er_mode & S_IFMT));
851 ip->i_di.di_mode = er->er_mode; 851 ip->i_inode.i_mode = er->er_mode;
852 } 852 }
853 ip->i_di.di_ctime = get_seconds(); 853 ip->i_di.di_ctime = get_seconds();
854 gfs2_trans_add_bh(ip->i_gl, dibh, 1); 854 gfs2_trans_add_bh(ip->i_gl, dibh, 1);