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
(from parent 1:
caf0107
)
Send the correct disposition back to the client so that it returns an
author
adilger
<adilger>
Mon, 26 Apr 2004 16:46:13 +0000
(16:46 +0000)
committer
adilger
<adilger>
Mon, 26 Apr 2004 16:46:13 +0000
(16:46 +0000)
error if no access to the directory.
b=3285
lustre/mds/mds_open.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_open.c
b/lustre/mds/mds_open.c
index
b474283
..
d8e940a
100644
(file)
--- a/
lustre/mds/mds_open.c
+++ b/
lustre/mds/mds_open.c
@@
-976,6
+976,7
@@
int mds_open(struct mds_update_record *rec, int offset,
GOTO(cleanup, rc = -EISDIR);
}
if (ll_permission(dchild->d_inode, acc_mode, NULL)) {
+ intent_set_disposition(rep, DISP_OPEN_OPEN);
GOTO(cleanup, rc = -EACCES);
}
}