Whamcloud - gitweb
b=19694
authorvs <vs>
Mon, 15 Jun 2009 00:30:14 +0000 (00:30 +0000)
committervs <vs>
Mon, 15 Jun 2009 00:30:14 +0000 (00:30 +0000)
i=tappro,zam

moo_xattr_list method is added to mdd_dot_lustre_obj_ops

lustre/mdd/mdd_device.c

index e2dd64b..b988aa6 100644 (file)
@@ -450,6 +450,12 @@ static int dot_lustre_xattr_get(const struct lu_env *env,
         return 0;
 }
 
+static int dot_lustre_xattr_list(const struct lu_env *env,
+                                 struct md_object *obj, struct lu_buf *buf)
+{
+        return -EPERM;
+}
+
 static int dot_lustre_mdd_open(const struct lu_env *env, struct md_object *obj,
                                int flags)
 {
@@ -498,6 +504,7 @@ static struct md_object_operations mdd_dot_lustre_obj_ops = {
         .moo_attr_get   = dot_lustre_attr_get,
         .moo_attr_set   = dot_lustre_attr_set,
         .moo_xattr_get  = dot_lustre_xattr_get,
+        .moo_xattr_list = dot_lustre_xattr_list,
         .moo_open       = dot_lustre_mdd_open,
         .moo_close      = dot_lustre_close,
         .moo_readpage   = mdd_readpage,