From 6aac04394add2afa1d919c954b4cb14f9d211795 Mon Sep 17 00:00:00 2001 From: adilger Date: Mon, 16 Sep 2002 22:40:50 +0000 Subject: [PATCH] TODO message. --- lustre/llite/file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/llite/file.c b/lustre/llite/file.c index a07434e..796a06e 100644 --- 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) { -- 1.8.3.1