Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e06970b
)
[liblustre]: add and open reference count, to handle the multiple open case
author
meijia
<meijia>
Wed, 28 May 2003 10:52:44 +0000
(10:52 +0000)
committer
meijia
<meijia>
Wed, 28 May 2003 10:52:44 +0000
(10:52 +0000)
which is not handled by libsysio.
lustre/liblustre/namei.c
patch
|
blob
|
history
diff --git
a/lustre/liblustre/namei.c
b/lustre/liblustre/namei.c
index
095e988
..
5bac34f
100644
(file)
--- a/
lustre/liblustre/namei.c
+++ b/
lustre/liblustre/namei.c
@@
-349,9
+349,14
@@
static void translate_lookup_intent(struct intent *intent,
{
memset(it, 0, sizeof(*it));
- /* FIXME libsysio will assign intent like following:
+ /* libsysio will assign intent like following:
+ * NOTE: INT_CREAT has include INT_UPDPARENT
+ *
* open: INT_OPEN [| INT_CREAT]
* mkdir: INT_CREAT
+ * symlink: INT_CREAT
+ * unlink: INT_UPDPARENT
+ * rmdir: INT_UPDPARENT
*
* following logic is adjusted for libsysio
*/