summaryrefslogtreecommitdiffstats
path: root/fs/hfsplus/xattr.c
diff options
context:
space:
mode:
authorErnesto A. Fernández <ernesto.mnd.fernandez@gmail.com>2018-08-22 00:59:23 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2018-08-22 13:52:50 -0400
commitf168d9fd634a4612d308d7dbe0a4d2a9b366c045 (patch)
treeae083873011b1d01e675070315ae7e0c6339378d /fs/hfsplus/xattr.c
parentafd6c9e1f5287ad236adcf56db8c42fef65561fa (diff)
hfsplus: drop ACL support
The HFS+ Access Control Lists have not worked at all for the past five years, and nobody seems to have noticed. Besides, POSIX draft ACLs are not compatible with MacOS. Drop the feature entirely. Link: http://lkml.kernel.org/r/20180714190608.wtnmmtjqeyladkut@eaf Signed-off-by: Ernesto A. Fernández <ernesto.mnd.fernandez@gmail.com> Acked-by: Christoph Hellwig <hch@lst.de> Cc: Viacheslav Dubeyko <slava@dubeyko.com> Cc: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hfsplus/xattr.c')
-rw-r--r--fs/hfsplus/xattr.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/hfsplus/xattr.c b/fs/hfsplus/xattr.c
index e538b758c448..d5403b4004c9 100644
--- a/fs/hfsplus/xattr.c
+++ b/fs/hfsplus/xattr.c
@@ -8,10 +8,8 @@
8 */ 8 */
9 9
10#include "hfsplus_fs.h" 10#include "hfsplus_fs.h"
11#include <linux/posix_acl_xattr.h>
12#include <linux/nls.h> 11#include <linux/nls.h>
13#include "xattr.h" 12#include "xattr.h"
14#include "acl.h"
15 13
16static int hfsplus_removexattr(struct inode *inode, const char *name); 14static int hfsplus_removexattr(struct inode *inode, const char *name);
17 15
@@ -19,10 +17,6 @@ const struct xattr_handler *hfsplus_xattr_handlers[] = {
19 &hfsplus_xattr_osx_handler, 17 &hfsplus_xattr_osx_handler,
20 &hfsplus_xattr_user_handler, 18 &hfsplus_xattr_user_handler,
21 &hfsplus_xattr_trusted_handler, 19 &hfsplus_xattr_trusted_handler,
22#ifdef CONFIG_HFSPLUS_FS_POSIX_ACL
23 &posix_acl_access_xattr_handler,
24 &posix_acl_default_xattr_handler,
25#endif
26 &hfsplus_xattr_security_handler, 20 &hfsplus_xattr_security_handler,
27 NULL 21 NULL
28}; 22};