Whamcloud - gitweb
dt_object_operations: local ->do_ref_{add,del}() cannot fail: this assumption simplif...
authornikita <nikita>
Fri, 21 Jul 2006 19:20:21 +0000 (19:20 +0000)
committernikita <nikita>
Fri, 21 Jul 2006 19:20:21 +0000 (19:20 +0000)
lustre/include/dt_object.h

index 0624848..db80aea 100644 (file)
@@ -204,13 +204,13 @@ struct dt_object_operations {
          * Add nlink of the object
          * precondition: lu_object_exists(ctxt, &dt->do_lu);
          */
-        int   (*do_ref_add)(const struct lu_context *ctxt,
+        void  (*do_ref_add)(const struct lu_context *ctxt,
                             struct dt_object *dt, struct thandle *th);
         /*
          * Del nlink of the object
          * precondition: lu_object_exists(ctxt, &dt->do_lu);
          */
-        int   (*do_ref_del)(const struct lu_context *ctxt,
+        void  (*do_ref_del)(const struct lu_context *ctxt,
                             struct dt_object *dt, struct thandle *th);
 };