aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_super.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_super.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c
index 71ac3a6162e9..1ca593fb1225 100644
--- a/fs/xfs/linux-2.6/xfs_super.c
+++ b/fs/xfs/linux-2.6/xfs_super.c
@@ -980,12 +980,7 @@ STATIC struct inode *
980xfs_fs_alloc_inode( 980xfs_fs_alloc_inode(
981 struct super_block *sb) 981 struct super_block *sb)
982{ 982{
983 bhv_vnode_t *vp; 983 return kmem_zone_alloc(xfs_vnode_zone, KM_SLEEP);
984
985 vp = kmem_zone_alloc(xfs_vnode_zone, KM_SLEEP);
986 if (unlikely(!vp))
987 return NULL;
988 return vp;
989} 984}
990 985
991STATIC void 986STATIC void