OSDN Git Service

orangefs: clean up op_alloc()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 23 Jan 2016 19:04:31 +0000 (14:04 -0500)
committerMike Marshall <hubcap@omnibond.com>
Sat, 23 Jan 2016 20:20:11 +0000 (15:20 -0500)
commit115b93a8595c878759c7c1fdbd95fbbeacbe9168
tree7af85d0290e25d5cd6a25eec67e205233e0ce5a4
parentb0bc3a7b621cb8d7bcce507f323249a7340f4141
orangefs: clean up op_alloc()

fold orangefs_op_initialize() in there, don't bother locking something
nobody else could've seen yet, use kmem_cache_zalloc() instead of
explicit memset()...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/orangefs-cache.c
fs/orangefs/orangefs-kernel.h
fs/orangefs/orangefs-utils.c