aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/ops_file.c')
-rw-r--r--fs/gfs2/ops_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_file.c b/fs/gfs2/ops_file.c
index 222f3be3e06e..5e754198f5bb 100644
--- a/fs/gfs2/ops_file.c
+++ b/fs/gfs2/ops_file.c
@@ -640,7 +640,7 @@ static int do_gfs2_set_flags(struct file *filp, u32 reqflags, u32 mask)
640 !capable(CAP_LINUX_IMMUTABLE)) 640 !capable(CAP_LINUX_IMMUTABLE))
641 goto out; 641 goto out;
642 if (!IS_IMMUTABLE(inode)) { 642 if (!IS_IMMUTABLE(inode)) {
643 error = gfs2_repermission(inode, MAY_WRITE, NULL); 643 error = permission(inode, MAY_WRITE, NULL);
644 if (error) 644 if (error)
645 goto out; 645 goto out;
646 } 646 }