Merge tag 'ext4_for_linus-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-block.git] / fs / ext4 / acl.h
index ef4c19e5f57060b13ab4a2b45b8ffb967eff4fbf..0c5a79c3b5d4806f9a76241c7fd1ee5a971b9dba 100644 (file)
@@ -68,11 +68,6 @@ extern int ext4_init_acl(handle_t *, struct inode *, struct inode *);
 static inline int
 ext4_init_acl(handle_t *handle, struct inode *inode, struct inode *dir)
 {
-       /* usually, the umask is applied by posix_acl_create(), but if
-          ext4 ACL support is disabled at compile time, we need to do
-          it here, because posix_acl_create() will never be called */
-       inode->i_mode &= ~current_umask();
-
        return 0;
 }
 #endif  /* CONFIG_EXT4_FS_POSIX_ACL */