Skip to content

Commit

Permalink
ext2: remove duplicate 'ext2_get_acl()' define
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Linus Torvalds committed Jul 30, 2011
1 parent 55f9c40 commit 59ed2bb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/ext2/acl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 59ed2bb

Please sign in to comment.