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-14052 ofd: support for multiple access readers
[fs/lustre-release.git]
/
lustre
/
ofd
/
ofd_io.c
diff --git
a/lustre/ofd/ofd_io.c
b/lustre/ofd/ofd_io.c
index
5e7801f
..
dc5230a
100644
(file)
--- a/
lustre/ofd/ofd_io.c
+++ b/
lustre/ofd/ofd_io.c
@@
-628,7
+628,7
@@
static int ofd_preprw_read(const struct lu_env *env, struct obd_export *exp,
if (unlikely(rc))
GOTO(buf_put, rc);
if (unlikely(rc))
GOTO(buf_put, rc);
- ofd_access(ofd,
+ ofd_access(
env,
ofd,
&(struct lu_fid) {
.f_seq = oa->o_parent_seq,
.f_oid = oa->o_parent_oid,
&(struct lu_fid) {
.f_seq = oa->o_parent_seq,
.f_oid = oa->o_parent_oid,
@@
-831,7
+831,7
@@
static int ofd_preprw_write(const struct lu_env *env, struct obd_export *exp,
ofd_read_unlock(env, fo);
ofd_read_unlock(env, fo);
- ofd_access(ofd,
+ ofd_access(
env,
ofd,
&(struct lu_fid) {
.f_seq = oa->o_parent_seq,
.f_oid = oa->o_parent_oid,
&(struct lu_fid) {
.f_seq = oa->o_parent_seq,
.f_oid = oa->o_parent_oid,