net/mlx4: Fix firmware command timeout during interrupt test
[cascardo/linux.git] / fs / udf / file.c
index e855bf8..dbcb3a4 100644 (file)
@@ -261,7 +261,7 @@ static int udf_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;