aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ncpfs/inode.c')
-rw-r--r--fs/ncpfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ncpfs/inode.c b/fs/ncpfs/inode.c
index 9605a2f63549..7b1261bc2dee 100644
--- a/fs/ncpfs/inode.c
+++ b/fs/ncpfs/inode.c
@@ -884,7 +884,7 @@ int ncp_notify_change(struct dentry *dentry, struct iattr *attr)
884 /* ageing the dentry to force validation */ 884 /* ageing the dentry to force validation */
885 ncp_age_dentry(server, dentry); 885 ncp_age_dentry(server, dentry);
886 886
887 result = inode_change_ok(inode, attr); 887 result = setattr_prepare(dentry, attr);
888 if (result < 0) 888 if (result < 0)
889 goto out; 889 goto out;
890 890