-/* -*- 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.
#define DEBUG_SUBSYSTEM S_FILTER
-#ifndef AUTOCONF_INCLUDED
-#include <linux/config.h>
-#endif
#include <linux/module.h>
#include <linux/version.h>
return 0;
}
-/* Called with res->lr_lvb_sem held */
+/* Called with res->lr_lvb_mutex held */
static int filter_lvbo_init(struct ldlm_resource *res)
{
struct ost_lvb *lvb = NULL;
ENTRY;
LASSERT(res);
- LASSERT_SEM_LOCKED(&res->lr_lvb_sem);
+ LASSERT_MUTEX_LOCKED(&res->lr_lvb_mutex);
if (res->lr_lvb_data)
RETURN(0);