From 6f7a182ec55ad452594c6a0c12a193851567da3a Mon Sep 17 00:00:00 2001 From: bobijam <bobijam> Date: Thu, 21 Jun 2007 03:08:09 +0000 Subject: [PATCH] Branch b1_4 b=11686 i=green, adilger improve some error messages. --- lnet/libcfs/tracefile.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lnet/libcfs/tracefile.c b/lnet/libcfs/tracefile.c index 0b8e61ee12..4bf669382a 100644 --- a/lnet/libcfs/tracefile.c +++ b/lnet/libcfs/tracefile.c @@ -655,8 +655,9 @@ int tracefile_dump_all_pages(char *filename) filp = cfs_filp_open(filename, O_CREAT|O_EXCL|O_WRONLY|O_LARGEFILE, 0600, &rc); if (!filp) { - printk(KERN_ERR "LustreError: can't open %s for dump: rc %d\n", - filename, rc); + if (rc != -EEXIST) + printk(KERN_ERR "LustreError: can't open %s for dump: rc %d\n", + filename, rc); goto out; } -- GitLab