Skip to content
Snippets Groups Projects
Commit 6f7a182e authored by Bobi Jam's avatar Bobi Jam
Browse files

Branch b1_4

b=11686
i=green, adilger

improve some error messages.
parent 9547728b
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment