/*
* Copyright 2012 Xyratex Technology Limited
*
- * Copyright (c) 2013, 2016, Intel Corporation.
+ * Copyright (c) 2013, 2017, Intel Corporation.
*
* Author: Andrew Perepechko <Andrew_Perepechko@xyratex.com>
*
#include <linux/mm.h>
#include <obd_support.h>
#include <lustre_dlm.h>
-#include <lustre_ver.h>
#include "llite_internal.h"
/* If we ever have hundreds of extended attributes, we might want to consider
if (unlikely(req == NULL)) {
CDEBUG(D_CACHE, "cancelled by a parallel getxattr\n");
ll_intent_drop_lock(&oit);
- GOTO(err_unlock, rc = -EIO);
+ GOTO(err_unlock, rc = -EAGAIN);
}
body = req_capsule_server_get(&req->rq_pill, &RMF_MDT_BODY);
rc = -EAGAIN;
ptlrpc_req_finished(req);
- return rc;
+ RETURN(rc);
}
/**
out:
up_read(&lli->lli_xattrs_list_rwsem);
- return rc;
+ RETURN(rc);
}