diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2017-11-15 20:32:18 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-15 21:21:01 -0500 |
commit | d50112edde1d0c621520e53747044009f11c656b (patch) | |
tree | ca4092f2126ac85a63647a48e43ecbf34bb69782 /fs/ecryptfs/main.c | |
parent | a3ba074447824625d3a267a5fffd2ea21556ebf4 (diff) |
slab, slub, slob: add slab_flags_t
Add sparse-checked slab_flags_t for struct kmem_cache::flags (SLAB_POISON,
etc).
SLAB is bloated temporarily by switching to "unsigned long", but only
temporarily.
Link: http://lkml.kernel.org/r/20171021100225.GA22428@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Pekka Enberg <penberg@kernel.org>
Cc: Christoph Lameter <cl@linux.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ecryptfs/main.c')
-rw-r--r-- | fs/ecryptfs/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ecryptfs/main.c b/fs/ecryptfs/main.c index 6b801186baa5..25aeaa7328ba 100644 --- a/fs/ecryptfs/main.c +++ b/fs/ecryptfs/main.c | |||
@@ -660,7 +660,7 @@ static struct ecryptfs_cache_info { | |||
660 | struct kmem_cache **cache; | 660 | struct kmem_cache **cache; |
661 | const char *name; | 661 | const char *name; |
662 | size_t size; | 662 | size_t size; |
663 | unsigned long flags; | 663 | slab_flags_t flags; |
664 | void (*ctor)(void *obj); | 664 | void (*ctor)(void *obj); |
665 | } ecryptfs_cache_infos[] = { | 665 | } ecryptfs_cache_infos[] = { |
666 | { | 666 | { |