diff options
author | Vlastimil Babka <vbabka@suse.cz> | 2024-01-23 17:05:35 +0100 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2024-02-14 21:54:50 +0100 |
commit | 3635d000f04b709c575bfbe5c6d1f0e1c0135fa1 (patch) | |
tree | 99d8e58a14d6a432df27a76de4c4201963754691 /fs/orangefs/orangefs-kernel.h | |
parent | Linux 6.8-rc4 (diff) | |
download | linux-3635d000f04b709c575bfbe5c6d1f0e1c0135fa1.tar.xz linux-3635d000f04b709c575bfbe5c6d1f0e1c0135fa1.zip |
fs/orangefs: remove ORANGEFS_CACHE_CREATE_FLAGS
The flags were set to SLAB_RED_ZONE when CONFIG_DEBUG_SLAB was enabled.
With SLAB gone, this is now dead code so remove it. With SLUB, debugging
options including red zoning can be set for orangefs caches by the
slab_debug boot parameter.
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-kernel.h')
-rw-r--r-- | fs/orangefs/orangefs-kernel.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/orangefs/orangefs-kernel.h b/fs/orangefs/orangefs-kernel.h index 926d9c0a428a..e2df7eeadc7a 100644 --- a/fs/orangefs/orangefs-kernel.h +++ b/fs/orangefs/orangefs-kernel.h @@ -93,16 +93,6 @@ enum orangefs_vfs_op_states { OP_VFS_STATE_GIVEN_UP = 16, }; -/* - * orangefs kernel memory related flags - */ - -#if (defined CONFIG_DEBUG_SLAB) -#define ORANGEFS_CACHE_CREATE_FLAGS SLAB_RED_ZONE -#else -#define ORANGEFS_CACHE_CREATE_FLAGS 0 -#endif - extern const struct xattr_handler * const orangefs_xattr_handlers[]; extern struct posix_acl *orangefs_get_acl(struct inode *inode, int type, bool rcu); |