Clean up the 'all buffers locked' console message so that it's
clear that it comes from AFS, and so it has a trailing newline.
From a bug report by Rainer Toebbicke to openafs-info
Change-Id: I3f69e57e37a91ae3e6e8822ccfe72dddc06b4359
Reviewed-on: http://gerrit.openafs.org/732
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
* seems extreme. To the best of my knowledge, all the callers
* of DRead are prepared to handle a zero return. Some of them
* just panic directly, but not all of them. */
- afs_warn("all buffers locked");
+ afs_warn("afs: all buffers locked\n");
return 0;
}
/* The following check shouldn't be necessary and it will be removed soon */
if (!tp->bufp)
afs_warn
- ("shutdown_bufferpackage: bufp == 0!! Shouldn't happen\n");
+ ("afs: shutdown_bufferpackage: bufp == 0!! Shouldn't happen\n");
else {
brelse(tp->bufp);
tp->bufp = 0;