diff options
Diffstat (limited to 'fs/gfs2/ops_inode.c')
-rw-r--r-- | fs/gfs2/ops_inode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/ops_inode.c b/fs/gfs2/ops_inode.c index 06176dee1550..585b43a94ace 100644 --- a/fs/gfs2/ops_inode.c +++ b/fs/gfs2/ops_inode.c | |||
@@ -729,7 +729,7 @@ static int gfs2_rename(struct inode *odir, struct dentry *odentry, | |||
729 | error = gfs2_meta_inode_buffer(ip, &dibh); | 729 | error = gfs2_meta_inode_buffer(ip, &dibh); |
730 | if (error) | 730 | if (error) |
731 | goto out_end_trans; | 731 | goto out_end_trans; |
732 | ip->i_di.di_ctime = get_seconds(); | 732 | ip->i_inode.i_ctime.tv_sec = get_seconds(); |
733 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); | 733 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); |
734 | gfs2_dinode_out(ip, dibh->b_data); | 734 | gfs2_dinode_out(ip, dibh->b_data); |
735 | brelse(dibh); | 735 | brelse(dibh); |
@@ -915,7 +915,6 @@ static int setattr_chown(struct inode *inode, struct iattr *attr) | |||
915 | 915 | ||
916 | error = inode_setattr(inode, attr); | 916 | error = inode_setattr(inode, attr); |
917 | gfs2_assert_warn(sdp, !error); | 917 | gfs2_assert_warn(sdp, !error); |
918 | gfs2_inode_attr_out(ip); | ||
919 | 918 | ||
920 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); | 919 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); |
921 | gfs2_dinode_out(ip, dibh->b_data); | 920 | gfs2_dinode_out(ip, dibh->b_data); |