bonding: process the err returned by dev_set_allmulti properly in bond_enslave
[pandora-kernel.git] / fs / ncpfs / inode.c
index cbd1a61..dce88e9 100644 (file)
@@ -880,7 +880,7 @@ int ncp_notify_change(struct dentry *dentry, struct iattr *attr)
        /* ageing the dentry to force validation */
        ncp_age_dentry(server, dentry);
 
-       result = inode_change_ok(inode, attr);
+       result = setattr_prepare(dentry, attr);
        if (result < 0)
                goto out;