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:
de14b52
)
Remove the locking warning added yesterday.
author
adilger
<adilger>
Tue, 17 Sep 2002 16:43:01 +0000
(16:43 +0000)
committer
adilger
<adilger>
Tue, 17 Sep 2002 16:43:01 +0000
(16:43 +0000)
I now see that this was fixed by the "re-get file attributes after we
get the file lock" change, which seemed sort of overkill at the time...
lustre/llite/file.c
patch
|
blob
|
history
diff --git
a/lustre/llite/file.c
b/lustre/llite/file.c
index
796a06e
..
a07434e
100644
(file)
--- a/
lustre/llite/file.c
+++ b/
lustre/llite/file.c
@@
-53,7
+53,6
@@
static int ll_file_open(struct inode *inode, struct file *file)
if (lsm == NULL) {
struct inode *inode = file->f_dentry->d_inode;
-#warning FIXME: need to get an LDLM lock to prevent racy multi-client creates
down(&lli->lli_open_sem);
/* Check to see if we lost the race */
if (lli->lli_smd == NULL) {