summaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_super.h
diff options
context:
space:
mode:
authorEric Sandeen2008-04-17 08:50:22 +0200
committerLachlan McIlroy2008-04-18 04:04:19 +0200
commitf7d3c34788696f5ba9ac9fa414ad80e2a91d4b2e (patch)
tree0e8d743bdb6344a20b61a8daeb23bf3b508ff573 /fs/xfs/linux-2.6/xfs_super.h
parent[XFS] xfs_bmap_compute_maxlevels should be based on di_forkoff (diff)
downloadkernel-qcow2-linux-f7d3c34788696f5ba9ac9fa414ad80e2a91d4b2e.tar.gz
kernel-qcow2-linux-f7d3c34788696f5ba9ac9fa414ad80e2a91d4b2e.tar.xz
kernel-qcow2-linux-f7d3c34788696f5ba9ac9fa414ad80e2a91d4b2e.zip
[XFS] Remove CONFIG_XFS_SECURITY.
There is no point to the CONFIG_XFS_SECURITY option; it disables the ability to set security attributes at runtime, but it does not actually slim down or remove any code for runtime. Just remove it and always allow security attributes to be set. SGI-PV: 980310 SGI-Modid: xfs-linux-melb:xfs-kern:30877a Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Signed-off-by: Tim Shimmin <tes@sgi.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_super.h')
-rw-r--r--fs/xfs/linux-2.6/xfs_super.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/fs/xfs/linux-2.6/xfs_super.h b/fs/xfs/linux-2.6/xfs_super.h
index 3efcf45b14ab..3efb7c6d3303 100644
--- a/fs/xfs/linux-2.6/xfs_super.h
+++ b/fs/xfs/linux-2.6/xfs_super.h
@@ -50,13 +50,7 @@ extern void xfs_qm_exit(void);
# define set_posix_acl_flag(sb) do { } while (0)
#endif
-#ifdef CONFIG_XFS_SECURITY
-# define XFS_SECURITY_STRING "security attributes, "
-# define ENOSECURITY 0
-#else
-# define XFS_SECURITY_STRING
-# define ENOSECURITY EOPNOTSUPP
-#endif
+#define XFS_SECURITY_STRING "security attributes, "
#ifdef CONFIG_XFS_RT
# define XFS_REALTIME_STRING "realtime, "