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
Land b_smallfix onto HEAD (20040428_2142)
[fs/lustre-release.git]
/
lustre
/
mds
/
mds_open.c
diff --git
a/lustre/mds/mds_open.c
b/lustre/mds/mds_open.c
index
d62f50e
..
8954cb5
100644
(file)
--- a/
lustre/mds/mds_open.c
+++ b/
lustre/mds/mds_open.c
@@
-981,6
+981,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);
}
}