X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Flov%2Flovsub_page.c;h=4940af97245e1f263ed6244e6dc5641482d28592;hb=15ea8482254911357109bcaa72630511d09e5f07;hp=70e1f5645906affe1fda8a095293e4a0cee63b52;hpb=fbf5870b9848929d352460f1f005b79c0b5ccc5a;p=fs%2Flustre-release.git diff --git a/lustre/lov/lovsub_page.c b/lustre/lov/lovsub_page.c index 70e1f56..4940af9 100644 --- a/lustre/lov/lovsub_page.c +++ b/lustre/lov/lovsub_page.c @@ -1,6 +1,4 @@ -/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*- - * vim:expandtab:shiftwidth=8:tabstop=8: - * +/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -26,7 +24,7 @@ * GPL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. + * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. */ /* @@ -42,7 +40,9 @@ #include "lov_cl_internal.h" -/** \addtogroup lov lov @{ */ +/** \addtogroup lov + * @{ + */ /***************************************************************************** * @@ -65,13 +65,13 @@ static const struct cl_page_operations lovsub_page_ops = { struct cl_page *lovsub_page_init(const struct lu_env *env, struct cl_object *obj, - struct cl_page *page, cfs_page_t *_) + struct cl_page *page, cfs_page_t *unused) { struct lovsub_page *lsb; int result; ENTRY; - OBD_SLAB_ALLOC_PTR(lsb, lovsub_page_kmem); + OBD_SLAB_ALLOC_PTR_GFP(lsb, lovsub_page_kmem, CFS_ALLOC_IO); if (lsb != NULL) { cl_page_slice_add(page, &lsb->lsb_cl, obj, &lovsub_page_ops); result = 0;