Skip to content

Commit 59ed2bb

Browse files
committed
ext2: remove duplicate 'ext2_get_acl()' define
When commit 4e34e71 ("fs: take the ACL checks to common code") changed the xyz_check_acl() functions into the more natural xyz_get_acl() interface, we grew two copies of the #define ext2_get_acl NULL define for the non-acl case. Remove the extra one. Reported-by: Marco Stornelli <marco.stornelli@gmail.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 55f9c40 commit 59ed2bb

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎fs/ext2/acl.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ extern int ext2_init_acl (struct inode *, struct inode *);
6161
#else
6262
#include <linux/sched.h>
6363
#define ext2_get_acl NULL
64-
#define ext2_get_acl NULL
6564
#define ext2_set_acl NULL
6665

6766
static inline int

0 commit comments

Comments
 (0)