Whamcloud - gitweb
Remove the locking warning added yesterday.
authoradilger <adilger>
Tue, 17 Sep 2002 16:43:01 +0000 (16:43 +0000)
committeradilger <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

index 796a06e..a07434e 100644 (file)
@@ -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) {