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:
b8f4d9b
)
b=21986 allow to apply OPEN_LOCK even when file created
author
Fan Yong
<Yong.Fan@Sun.COM>
Tue, 9 Mar 2010 19:26:10 +0000
(11:26 -0800)
committer
Robert Read
<rread@sun.com>
Tue, 9 Mar 2010 19:26:10 +0000
(11:26 -0800)
Allow to apply OPEN_LOCK even when file created.
i=robert.read
i=oleg.drokin
lustre/mdt/mdt_open.c
patch
|
blob
|
history
diff --git
a/lustre/mdt/mdt_open.c
b/lustre/mdt/mdt_open.c
index
4ce9a49
..
b8e098a
100644
(file)
--- a/
lustre/mdt/mdt_open.c
+++ b/
lustre/mdt/mdt_open.c
@@
-1372,7
+1372,6
@@
int mdt_reint_open(struct mdt_thread_info *info, struct mdt_lock_handle *lhc)
if (!(msg_flags & MSG_REPLAY) && create_flags & MDS_OPEN_LOCK) {
ldlm_mode_t lm;
- LASSERT(!created);
if (create_flags & FMODE_WRITE)
lm = LCK_CW;
else if (create_flags & MDS_FMODE_EXEC)