Minor compilation fixes.
LASSERT(oh->ot_tx != NULL);
tx = oh->ot_tx;
}
- spin_lock(&obj->oo_guard);
+ down(&obj->oo_guard);
udmu_object_links_dec(obj->oo_db, tx);
- spin_unlock(&obj->oo_guard);
+ up(&obj->oo_guard);
}
int osd_xattr_get(const struct lu_env *env, struct dt_object *dt,
MODULES := osd
-osd-objs := osd_handler.o osd_oi.o osd_igif.o osd_lproc.o osd_io.o osd_compat.o
+osd-objs := osd_handler.o osd_oi.o osd_igif.o osd_lproc.o osd_io.o
EXTRA_PRE_CFLAGS := -I@LINUX@/fs -I@LDISKFS_DIR@ -I@LDISKFS_DIR@/ldiskfs
*/
static int osd_trans_stop(const struct lu_env *env, struct thandle *th)
{
- int result;
+ int result = 0;
struct osd_thandle *oh;
struct osd_thread_info *oti = osd_oti_get(env);
struct filter_iobuf *iobuf = &oti->oti_iobuf;