From 9d8c48d7c2529ae66c82670ecd629a5610ab93cc Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Fri, 29 Jul 2011 23:21:50 -0700 Subject: [PATCH] ext2: remove duplicate 'ext2_get_acl()' define When commit df67f625a486 ("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 Cc: Christoph Hellwig Cc: Al Viro Signed-off-by: Linus Torvalds --- fs/ext2/acl.h | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/ext2/acl.h b/fs/ext2/acl.h index 5c0a6a4fb052c..503bfb0ed79b2 100644 --- a/fs/ext2/acl.h +++ b/fs/ext2/acl.h @@ -61,7 +61,6 @@ extern int ext2_init_acl (struct inode *, struct inode *); #else #include #define ext2_get_acl NULL -#define ext2_get_acl NULL #define ext2_set_acl NULL static inline int -- 2.39.5