From 06c240c2369871abd1341b4772591d51e71f5832 Mon Sep 17 00:00:00 2001 From: phil Date: Fri, 2 Sep 2005 15:56:08 +0000 Subject: [PATCH] b=7278 reference the bug number in the comment that was added --- lustre/liblustre/namei.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/liblustre/namei.c b/lustre/liblustre/namei.c index c6c43b9..ffcf873 100644 --- a/lustre/liblustre/namei.c +++ b/lustre/liblustre/namei.c @@ -501,11 +501,11 @@ translate_lookup_intent(struct intent *intent, const char *path) if (it->it_flags & O_CREAT) { it->it_op |= IT_CREAT; it->it_create_mode = *((int*)intent->int_arg1); - /* XXX libsysio hack. For O_EXCL, libsysio depends on + /* bug 7278: libsysio hack. For O_EXCL, libsysio depends on this lookup to return negative result, but then there is no way to find out original intent in ll_iop_open(). So we just clear O_EXCL from libsysio flags here to avoid checking - for negative result. O_EXCL would be enforced by MDS. */ + for negative result. O_EXCL will be enforced by MDS. */ *((int*)intent->int_arg2) &= ~O_EXCL; } -- 1.8.3.1