/* allocate an AFS inode struct from our slab cache  */
static struct inode * afs_alloc_inode(struct super_block *sb)
/* allocate an AFS inode struct from our slab cache  */
static struct inode * afs_alloc_inode(struct super_block *sb)
{
	struct afs_vnode *vnode;
	vnode = kmem_cache_alloc(afs_inode_cachep, GFP_KERNEL);
	if (!vnode)
		return NULL;
	atomic_inc(&afs_count_active_inodes);
	memset(&vnode->fid, 0, sizeof(vnode->fid));
	memset(&vnode->status, 0, sizeof(vnode->status));
	vnode->volume		= NULL;
	vnode->update_cnt	= 0;
	vnode->flags		= 1 << AFS_VNODE_UNSET;
	vnode->cb_promised	= false;
	_leave(" = %p", &vnode->vfs_inode);
	return &vnode->vfs_inode;
}