diff options
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 4e41340e957d..c499e02a58ca 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -2416,8 +2416,8 @@ static int _nfs4_do_open(struct inode *dir, | |||
2416 | opendata->o_res.f_attr, sattr, | 2416 | opendata->o_res.f_attr, sattr, |
2417 | state, label, olabel); | 2417 | state, label, olabel); |
2418 | if (status == 0) { | 2418 | if (status == 0) { |
2419 | nfs_setattr_update_inode(state->inode, sattr); | 2419 | nfs_setattr_update_inode(state->inode, sattr, |
2420 | nfs_post_op_update_inode(state->inode, opendata->o_res.f_attr); | 2420 | opendata->o_res.f_attr); |
2421 | nfs_setsecurity(state->inode, opendata->o_res.f_attr, olabel); | 2421 | nfs_setsecurity(state->inode, opendata->o_res.f_attr, olabel); |
2422 | } | 2422 | } |
2423 | } | 2423 | } |
@@ -3291,7 +3291,7 @@ nfs4_proc_setattr(struct dentry *dentry, struct nfs_fattr *fattr, | |||
3291 | 3291 | ||
3292 | status = nfs4_do_setattr(inode, cred, fattr, sattr, state, NULL, label); | 3292 | status = nfs4_do_setattr(inode, cred, fattr, sattr, state, NULL, label); |
3293 | if (status == 0) { | 3293 | if (status == 0) { |
3294 | nfs_setattr_update_inode(inode, sattr); | 3294 | nfs_setattr_update_inode(inode, sattr, fattr); |
3295 | nfs_setsecurity(inode, fattr, label); | 3295 | nfs_setsecurity(inode, fattr, label); |
3296 | } | 3296 | } |
3297 | nfs4_label_free(label); | 3297 | nfs4_label_free(label); |