Whamcloud - gitweb
Minor tweak to match RH 2.4.18-14 function name in kernel.
[fs/lustre-release.git] / lustre / patches / patch-2.4.18-chaos25
index 505f834..6dac001 100644 (file)
  }
  
 +/* 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)
 -      
 -      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));
 -      
 -      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));