projects/linux·commit 59ed2bb2

ext2: remove duplicate 'ext2_get_acl()' define

59ed2bb2 · Linus Torvalds <[email protected]> · 2011-07-29 23:21:50 -07:00

When commit 4e34e719e457 ("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 <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
59ed2bb27492f74ab898ee1e26c69dfd78444640
Parents
55f9c40f

Changes

1 files changed · +0 −1

FileStatusAddDelContent
fs/ext2/acl.hmodified+0−1View file

fs/ext2/acl.h

View file
diff --git a/fs/ext2/acl.h b/fs/ext2/acl.h
index 5c0a6a4..503bfb0 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 <linux/sched.h>
#define ext2_get_acl NULL
-#define ext2_get_acl NULL
#define ext2_set_acl NULL
static inline int