]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/dlm/config.c
fs: change return values from -EACCES to -EPERM
[karo-tx-linux.git] / fs / dlm / config.c
index a0387dd8b1f0f3abf10ab7e257f9af34d7886900..7d58d5b112b559ccc9a9145a003f15e076d8a27b 100644 (file)
@@ -158,7 +158,7 @@ static ssize_t cluster_set(struct dlm_cluster *cl, unsigned int *cl_field,
        unsigned int x;
 
        if (!capable(CAP_SYS_ADMIN))
-               return -EACCES;
+               return -EPERM;
 
        x = simple_strtoul(buf, NULL, 0);