Whamcloud - gitweb
LU-1347 build: remove the vim/emacs modelines
[fs/lustre-release.git] / lustre / ptlrpc / gss / gss_generic_token.c
index db32608..81c662e 100644 (file)
@@ -1,10 +1,10 @@
-/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
- * vim:expandtab:shiftwidth=8:tabstop=8:
- *
+/*
  * Modifications for Lustre
  *
  * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  *
+ * Copyright (c) 2011, Whamcloud, Inc.
+ *
  * Author: Eric Mei <ericm@clusterfs.com>
  */
 
@@ -283,7 +283,7 @@ __u32 g_get_mech_oid(rawobj_t *mech, rawobj_t *in_buf)
 
         if ((len -= mech->len) < 0)
                 return (G_BAD_TOK_HEADER);
-        OBD_ALLOC(mech->data, mech->len);
+        OBD_ALLOC_LARGE(mech->data, mech->len);
         if (!mech->data) 
                 return (G_BUFFER_ALLOC);
         memcpy(mech->data, buf, mech->len);