Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-15535 revert: "LU-15284 llite: access lli_lsm_md with lock in all places"
[fs/lustre-release.git]
/
lustre
/
lmv
/
lmv_obd.c
diff --git
a/lustre/lmv/lmv_obd.c
b/lustre/lmv/lmv_obd.c
index
efcefcb
..
967270f
100644
(file)
--- a/
lustre/lmv/lmv_obd.c
+++ b/
lustre/lmv/lmv_obd.c
@@
-3805,8
+3805,7
@@
static int lmv_get_fid_from_lsm(struct obd_export *exp,
{
const struct lmv_oinfo *oinfo;
- if (!lmv_dir_striped(lsm))
- RETURN(-ESTALE);
+ LASSERT(lmv_dir_striped(lsm));
oinfo = lsm_name_to_stripe_info(lsm, name, namelen, false);
if (IS_ERR(oinfo))