[Libsysio-commit] b_lustre: libsysio/src open.c
Brought to you by:
lward
From: Mei <me...@us...> - 2003-05-17 11:59:59
|
Update of /cvsroot/libsysio/libsysio/src In directory sc8-pr-cvs1:/tmp/cvs-serv21640 Modified Files: Tag: b_lustre open.c Log Message: a trick for lustre's intent locking. Index: open.c =================================================================== RCS file: /cvsroot/libsysio/libsysio/src/open.c,v retrieving revision 1.7 retrieving revision 1.7.2.1 diff -u -w -b -B -p -r1.7 -r1.7.2.1 --- open.c 23 Apr 2003 18:13:44 -0000 1.7 +++ open.c 17 May 2003 11:59:56 -0000 1.7.2.1 @@ -160,7 +160,7 @@ open(const char *path, int flags, ...) * Find the file. */ fil = NULL; - INTENT_INIT(&intent, intent.int_opmask, &mode, NULL); + INTENT_INIT(&intent, intent.int_opmask, &mode, &flags); pno = NULL; err = _sysio_namei(_sysio_cwd, path, ndflags, &intent, &pno); if (err) { |