aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/acl.c b/fs/gfs2/acl.c
index ba9456685f47..9c59ebe790b6 100644
--- a/fs/gfs2/acl.c
+++ b/fs/gfs2/acl.c
@@ -86,7 +86,7 @@ int gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type)
86 BUG_ON(name == NULL); 86 BUG_ON(name == NULL);
87 87
88 if (acl->a_count > GFS2_ACL_MAX_ENTRIES) 88 if (acl->a_count > GFS2_ACL_MAX_ENTRIES)
89 return -EINVAL; 89 return -E2BIG;
90 90
91 if (type == ACL_TYPE_ACCESS) { 91 if (type == ACL_TYPE_ACCESS) {
92 umode_t mode = inode->i_mode; 92 umode_t mode = inode->i_mode;