aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lustre/mdc/mdc_lib.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-02 18:14:51 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-02 18:14:51 +0800
commit29aaf4962a3bce337d37176858ef1025b9f29cc4 (patch)
tree0621dfe8e21faab5c24921991838e1f00ecdc142 /drivers/staging/lustre/lustre/mdc/mdc_lib.c
parentstaging: lustre: remove ENTRY/EXIT_NESTING stuff (diff)
downloadlinux-dev-29aaf4962a3bce337d37176858ef1025b9f29cc4.tar.xz
linux-dev-29aaf4962a3bce337d37176858ef1025b9f29cc4.zip
staging: lustre: remove ENTRY macro
We have a kernel-wide function tracing system, so use that instead of rolling a custom one just for one filesystem. Cc: Peng Tao <tao.peng@emc.com> Cc: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/mdc/mdc_lib.c')
-rw-r--r--drivers/staging/lustre/lustre/mdc/mdc_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/mdc/mdc_lib.c b/drivers/staging/lustre/lustre/mdc/mdc_lib.c
index 2e5c7cef61ce..4ab3b95faf8b 100644
--- a/drivers/staging/lustre/lustre/mdc/mdc_lib.c
+++ b/drivers/staging/lustre/lustre/mdc/mdc_lib.c
@@ -505,7 +505,7 @@ void mdc_close_pack(struct ptlrpc_request *req, struct md_op_data *op_data)
static int mdc_req_avail(struct client_obd *cli, struct mdc_cache_waiter *mcw)
{
int rc;
- ENTRY;
+
client_obd_list_lock(&cli->cl_loi_list_lock);
rc = list_empty(&mcw->mcw_entry);
client_obd_list_unlock(&cli->cl_loi_list_lock);