From: adilger Date: Tue, 22 Oct 2002 20:41:47 +0000 (+0000) Subject: Minor tweak to match RH 2.4.18-14 function name in kernel. X-Git-Tag: 0.5.15~22 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=ba0284c6e54b3dbc101c4ccc5c7e175166dbd314;p=fs%2Flustre-release.git Minor tweak to match RH 2.4.18-14 function name in kernel. --- 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));