summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/ext2/acl.h1
-rw-r--r--fs/ext3/acl.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/fs/ext2/acl.h b/fs/ext2/acl.h
index f613bc33d0a2..dff187be531d 100644
--- a/fs/ext2/acl.h
+++ b/fs/ext2/acl.h
@@ -77,7 +77,6 @@ ext2_acl_chmod (struct inode *inode)
static inline int ext2_init_acl (struct inode *inode, struct inode *dir)
{
- inode->i_mode &= ~current->fs->umask;
return 0;
}
#endif
diff --git a/fs/ext3/acl.h b/fs/ext3/acl.h
index f83830d44d20..f8975c74396f 100644
--- a/fs/ext3/acl.h
+++ b/fs/ext3/acl.h
@@ -79,7 +79,6 @@ ext3_acl_chmod(struct inode *inode)
static inline int
ext3_init_acl(handle_t *handle, struct inode *inode, struct inode *dir)
{
- inode->i_mode &= ~current->fs->umask;
return 0;
}
#endif /* CONFIG_EXT3_FS_POSIX_ACL */