diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-04-02 06:24:04 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-29 23:28:32 -0400 |
commit | 77ba78776e90e8de541f13b326e284c74286252f (patch) | |
tree | ea05703a21e255484462b947e5f15ffd781163cd /fs/xfs/kmem.c | |
parent | c217a2a004d98d09dfceec3a023c563ed800e833 (diff) |
xfs: switch to proper __bitwise type for KM_... flags
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/xfs/kmem.c')
-rw-r--r-- | fs/xfs/kmem.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/xfs/kmem.c b/fs/xfs/kmem.c index a907de565db3..4a7286c1dc80 100644 --- a/fs/xfs/kmem.c +++ b/fs/xfs/kmem.c | |||
@@ -46,7 +46,7 @@ kmem_zalloc_greedy(size_t *size, size_t minsize, size_t maxsize) | |||
46 | } | 46 | } |
47 | 47 | ||
48 | void * | 48 | void * |
49 | kmem_alloc(size_t size, unsigned int __nocast flags) | 49 | kmem_alloc(size_t size, xfs_km_flags_t flags) |
50 | { | 50 | { |
51 | int retries = 0; | 51 | int retries = 0; |
52 | gfp_t lflags = kmem_flags_convert(flags); | 52 | gfp_t lflags = kmem_flags_convert(flags); |
@@ -65,7 +65,7 @@ kmem_alloc(size_t size, unsigned int __nocast flags) | |||
65 | } | 65 | } |
66 | 66 | ||
67 | void * | 67 | void * |
68 | kmem_zalloc(size_t size, unsigned int __nocast flags) | 68 | kmem_zalloc(size_t size, xfs_km_flags_t flags) |
69 | { | 69 | { |
70 | void *ptr; | 70 | void *ptr; |
71 | 71 | ||
@@ -87,7 +87,7 @@ kmem_free(const void *ptr) | |||
87 | 87 | ||
88 | void * | 88 | void * |
89 | kmem_realloc(const void *ptr, size_t newsize, size_t oldsize, | 89 | kmem_realloc(const void *ptr, size_t newsize, size_t oldsize, |
90 | unsigned int __nocast flags) | 90 | xfs_km_flags_t flags) |
91 | { | 91 | { |
92 | void *new; | 92 | void *new; |
93 | 93 | ||
@@ -102,7 +102,7 @@ kmem_realloc(const void *ptr, size_t newsize, size_t oldsize, | |||
102 | } | 102 | } |
103 | 103 | ||
104 | void * | 104 | void * |
105 | kmem_zone_alloc(kmem_zone_t *zone, unsigned int __nocast flags) | 105 | kmem_zone_alloc(kmem_zone_t *zone, xfs_km_flags_t flags) |
106 | { | 106 | { |
107 | int retries = 0; | 107 | int retries = 0; |
108 | gfp_t lflags = kmem_flags_convert(flags); | 108 | gfp_t lflags = kmem_flags_convert(flags); |
@@ -121,7 +121,7 @@ kmem_zone_alloc(kmem_zone_t *zone, unsigned int __nocast flags) | |||
121 | } | 121 | } |
122 | 122 | ||
123 | void * | 123 | void * |
124 | kmem_zone_zalloc(kmem_zone_t *zone, unsigned int __nocast flags) | 124 | kmem_zone_zalloc(kmem_zone_t *zone, xfs_km_flags_t flags) |
125 | { | 125 | { |
126 | void *ptr; | 126 | void *ptr; |
127 | 127 | ||