aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/file.c')
-rw-r--r--fs/ocfs2/file.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index 7bad7d9b9a2c..4636aa6b0117 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -990,6 +990,12 @@ bail_unlock_rw:
990bail: 990bail:
991 brelse(bh); 991 brelse(bh);
992 992
993 if (!status && attr->ia_valid & ATTR_MODE) {
994 status = ocfs2_acl_chmod(inode);
995 if (status < 0)
996 mlog_errno(status);
997 }
998
993 mlog_exit(status); 999 mlog_exit(status);
994 return status; 1000 return status;
995} 1001}