X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fosp%2Fosp_object.c;h=5779b8da6245377324622fec8c08170689f8585a;hb=5f3e926ac9ff8ad134ad920d0e8545e16395ef3b;hp=7d302c91e92e3c830fff6bae3f0b3ff38a46c365;hpb=e19b51372ad94818a7a79b1fbae5b55c665ba59f;p=fs%2Flustre-release.git diff --git a/lustre/osp/osp_object.c b/lustre/osp/osp_object.c index 7d302c9..5779b8d 100644 --- a/lustre/osp/osp_object.c +++ b/lustre/osp/osp_object.c @@ -1088,6 +1088,7 @@ static int osp_object_init(const struct lu_env *env, struct lu_object *o, po->opo_non_exist = 1; rc = 0; } + init_rwsem(&po->opo_sem); } RETURN(rc); }