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
TODO message.
[fs/lustre-release.git]
/
lustre
/
llite
/
file.c
diff --git
a/lustre/llite/file.c
b/lustre/llite/file.c
index
a07434e
..
796a06e
100644
(file)
--- a/
lustre/llite/file.c
+++ b/
lustre/llite/file.c
@@
-53,6
+53,7
@@
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) {