summaryrefslogtreecommitdiffstats
path: root/fs/block_dev.c
diff options
context:
space:
mode:
authorGu Zheng2013-11-04 11:21:05 +0100
committerBen Myers2013-11-06 23:31:27 +0100
commit359d992bcd398273637cd9edde10afca953783c4 (patch)
treebfe6012116dc8b8d59d16bc517d0c94fa24abae9 /fs/block_dev.c
parentxfs: add tracepoints to AGF/AGI read operations (diff)
downloadkernel-qcow2-linux-359d992bcd398273637cd9edde10afca953783c4.tar.gz
kernel-qcow2-linux-359d992bcd398273637cd9edde10afca953783c4.tar.xz
kernel-qcow2-linux-359d992bcd398273637cd9edde10afca953783c4.zip
xfs: simplify kmem_{zone_}zalloc
Introduce flag KM_ZERO which is used to alloc zeroed entry, and convert kmem_{zone_}zalloc to call kmem_{zone_}alloc() with KM_ZERO directly, in order to avoid the setting to zero step. And following Dave's suggestion, make kmem_{zone_}zalloc static inline into kmem.h as they're now just a simple wrapper. V2: Make kmem_{zone_}zalloc static inline into kmem.h as Dave suggested. Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions