X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Flov%2Flov_object.c;h=aff93281bd85f71c4b082861f8106b8e5619bf5c;hp=718d035cd93a14977d5eac9fe5c1b2d732ea196b;hb=65e067d5d90270d4237a7271008561a4b432b94d;hpb=72714911b716b9ec8eba294d852164e7a3e4b380 diff --git a/lustre/lov/lov_object.c b/lustre/lov/lov_object.c index 718d035..aff9328 100644 --- a/lustre/lov/lov_object.c +++ b/lustre/lov/lov_object.c @@ -27,7 +27,7 @@ * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * - * Copyright (c) 2011, 2013, Intel Corporation. + * Copyright (c) 2011, 2014, Intel Corporation. */ /* * This file is part of Lustre, http://www.lustre.org/ @@ -42,7 +42,6 @@ #define DEBUG_SUBSYSTEM S_LOV #include "lov_cl_internal.h" -#include "lclient.h" /** \addtogroup lov * @{ @@ -923,13 +922,13 @@ static int lov_attr_get(const struct lu_env *env, struct cl_object *obj, return LOV_2DISPATCH_NOLOCK(cl2lov(obj), llo_getattr, env, obj, attr); } -static int lov_attr_set(const struct lu_env *env, struct cl_object *obj, - const struct cl_attr *attr, unsigned valid) +static int lov_attr_update(const struct lu_env *env, struct cl_object *obj, + const struct cl_attr *attr, unsigned valid) { - /* - * No dispatch is required here, as no layout implements this. - */ - return 0; + /* + * No dispatch is required here, as no layout implements this. + */ + return 0; } int lov_lock_init(const struct lu_env *env, struct cl_object *obj, @@ -958,13 +957,13 @@ static int lov_object_getstripe(const struct lu_env *env, struct cl_object *obj, } static const struct cl_object_operations lov_ops = { - .coo_page_init = lov_page_init, - .coo_lock_init = lov_lock_init, - .coo_io_init = lov_io_init, - .coo_attr_get = lov_attr_get, - .coo_attr_set = lov_attr_set, - .coo_conf_set = lov_conf_set, - .coo_getstripe = lov_object_getstripe + .coo_page_init = lov_page_init, + .coo_lock_init = lov_lock_init, + .coo_io_init = lov_io_init, + .coo_attr_get = lov_attr_get, + .coo_attr_update = lov_attr_update, + .coo_conf_set = lov_conf_set, + .coo_getstripe = lov_object_getstripe }; static const struct lu_object_operations lov_lu_obj_ops = {