Merge remote-tracking branch 'drivers-x86/for-next'
[deliverable/linux.git] / fs / xfs / xfs_ioctl.c
index cf46658392ceadebc09b35ccf4dd5f7b4db8ddb5..96a70fd1f5d6735b514f008bd165cf032bf7fd86 100644 (file)
@@ -232,7 +232,7 @@ xfs_open_by_handle(
        }
 
        if ((fmode & FMODE_WRITE) && IS_IMMUTABLE(inode)) {
-               error = -EACCES;
+               error = -EPERM;
                goto out_dput;
        }
 
This page took 0.024346 seconds and 5 git commands to generate.