From 688c90a04dcac78b505cd212b50724681f5da276 Mon Sep 17 00:00:00 2001 From: braam Date: Thu, 30 Jan 2003 05:07:54 +0000 Subject: [PATCH] - fix typo --- lustre/mds/mds_open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/mds/mds_open.c b/lustre/mds/mds_open.c index d072a6e..8aaf4e0 100644 --- a/lustre/mds/mds_open.c +++ b/lustre/mds/mds_open.c @@ -126,7 +126,7 @@ int mds_open(struct mds_update_record *rec, int offset, /* Negative dentry, just create the file */ if (dchild->d_inode) { up(&dir->i_sem); - if ((rec->ur_flags & (O_CREATE|O_EXCL)) == (O_CREATE|O_EXCL)) + if ((rec->ur_flags & (O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL)) GOTO(out_ldput, rc = -EEXIST); } else if ((rec->ur_flags & O_CREAT) && !dchild->d_inode) { int err; -- 1.8.3.1