Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9547728
)
Branch b1_4
author
bobijam
<bobijam>
Thu, 21 Jun 2007 03:08:09 +0000
(
03:08
+0000)
committer
bobijam
<bobijam>
Thu, 21 Jun 2007 03:08:09 +0000
(
03:08
+0000)
b=11686
i=green, adilger
improve some error messages.
lnet/libcfs/tracefile.c
patch
|
blob
|
history
diff --git
a/lnet/libcfs/tracefile.c
b/lnet/libcfs/tracefile.c
index
0b8e61e
..
4bf6693
100644
(file)
--- 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;
}