autofs: fix print format for ioctl warning message
[cascardo/linux.git] / fs / minix / file.c
index 94f0eb9..a6a4797 100644 (file)
@@ -26,7 +26,7 @@ static int minix_setattr(struct dentry *dentry, struct iattr *attr)
        struct inode *inode = d_inode(dentry);
        int error;
 
-       error = inode_change_ok(inode, attr);
+       error = setattr_prepare(dentry, attr);
        if (error)
                return error;