like other cases in ext4_ioctl() Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx> --- fs/ext4/ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index f665c02..3926657 100644 --- a/fs/ext4/ioctl.c +++ b/fs/ext4/ioctl.c @@ -504,7 +504,7 @@ long ext4_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) int err; if (!inode_owner_or_capable(inode)) - return -EPERM; + return -EACCES; if (ext4_has_metadata_csum(inode->i_sb)) { ext4_warning(sb, "Setting inode version is not " -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html