From ba0284c6e54b3dbc101c4ccc5c7e175166dbd314 Mon Sep 17 00:00:00 2001 From: adilger Date: Tue, 22 Oct 2002 20:41:47 +0000 Subject: [PATCH] Minor tweak to match RH 2.4.18-14 function name in kernel. --- lustre/patches/patch-2.4.18-chaos25 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lustre/patches/patch-2.4.18-chaos25 b/lustre/patches/patch-2.4.18-chaos25 index 505f834..6dac001 100644 --- a/lustre/patches/patch-2.4.18-chaos25 +++ b/lustre/patches/patch-2.4.18-chaos25 @@ -1300,7 +1300,7 @@ } +/* Allocate a new handle. This should probably be in a slab... */ -+static handle_t *get_handle(int nblocks) ++static handle_t *new_handle(int nblocks) +{ + handle_t *handle = jbd_kmalloc(sizeof (handle_t), GFP_NOFS); + if (!handle) @@ -1323,7 +1323,7 @@ - - handle = jbd_kmalloc(sizeof (handle_t), GFP_NOFS); + -+ handle = get_handle(nblocks); ++ handle = new_handle(nblocks); if (!handle) return ERR_PTR(-ENOMEM); - memset (handle, 0, sizeof (handle_t)); @@ -1340,7 +1340,7 @@ - - handle = jbd_kmalloc(sizeof (handle_t), GFP_NOFS); + -+ handle = get_handle(nblocks); ++ handle = new_handle(nblocks); if (!handle) return ERR_PTR(-ENOMEM); - memset (handle, 0, sizeof (handle_t)); -- 1.8.3.1