diff options
Diffstat (limited to 'fs/xfs/libxfs/xfs_da_btree.c')
| -rw-r--r-- | fs/xfs/libxfs/xfs_da_btree.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/fs/xfs/libxfs/xfs_da_btree.c b/fs/xfs/libxfs/xfs_da_btree.c index c062e2c85178..dd7a2dbce1d1 100644 --- a/fs/xfs/libxfs/xfs_da_btree.c +++ b/fs/xfs/libxfs/xfs_da_btree.c @@ -72,7 +72,7 @@ STATIC int	xfs_da3_blk_unlink(xfs_da_state_t *state,  				  xfs_da_state_blk_t *save_blk); -kmem_zone_t *xfs_da_state_zone;	/* anchor for state struct zone */ +struct kmem_cache	*xfs_da_state_cache;	/* anchor for dir/attr state */  /*   * Allocate a dir-state structure. @@ -84,7 +84,7 @@ xfs_da_state_alloc(  {  	struct xfs_da_state	*state; -	state = kmem_cache_zalloc(xfs_da_state_zone, GFP_NOFS | __GFP_NOFAIL); +	state = kmem_cache_zalloc(xfs_da_state_cache, GFP_NOFS | __GFP_NOFAIL);  	state->args = args;  	state->mp = args->dp->i_mount;  	return state; @@ -113,7 +113,7 @@ xfs_da_state_free(xfs_da_state_t *state)  #ifdef DEBUG  	memset((char *)state, 0, sizeof(*state));  #endif /* DEBUG */ -	kmem_cache_free(xfs_da_state_zone, state); +	kmem_cache_free(xfs_da_state_cache, state);  }  static inline int xfs_dabuf_nfsb(struct xfs_mount *mp, int whichfork) |