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-11164 ldlm: pass env to lvbo methods
[fs/lustre-release.git]
/
lustre
/
ofd
/
ofd_io.c
diff --git
a/lustre/ofd/ofd_io.c
b/lustre/ofd/ofd_io.c
index
8e038ce
..
f61d24a
100644
(file)
--- a/
lustre/ofd/ofd_io.c
+++ b/
lustre/ofd/ofd_io.c
@@
-1360,7
+1360,7
@@
int ofd_commitrw(const struct lu_env *env, int cmd, struct obd_export *exp,
rs = ldlm_resource_get(ns, NULL, &info->fti_resid,
LDLM_EXTENT, 0);
if (!IS_ERR(rs)) {
- ldlm_res_lvbo_update(rs, NULL, 1);
+ ldlm_res_lvbo_update(
env,
rs, NULL, 1);
ldlm_resource_putref(rs);
}
}