diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-06-06 14:36:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-06 16:08:09 -0700 |
commit | f38cfb2564f5fead53eebd9617258ee0376b1906 (patch) | |
tree | 6905553c7bae9f09a348dcf8d44a84847c50d464 /fs/coda/psdev.c | |
parent | d9b4b3195a06e646c357f6108a424569b1a920d9 (diff) | |
download | linux-stable-f38cfb2564f5fead53eebd9617258ee0376b1906.tar.gz linux-stable-f38cfb2564f5fead53eebd9617258ee0376b1906.tar.bz2 linux-stable-f38cfb2564f5fead53eebd9617258ee0376b1906.zip |
fs/coda: logging prefix uniformization
- Add pr_fmt based on module name.
- Remove Coda: coda: from pr_foo()
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Jan Harkes <jaharkes@cs.cmu.edu>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/coda/psdev.c')
-rw-r--r-- | fs/coda/psdev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/coda/psdev.c b/fs/coda/psdev.c index accddf6e2718..39ebb148d0d8 100644 --- a/fs/coda/psdev.c +++ b/fs/coda/psdev.c @@ -120,7 +120,7 @@ static ssize_t coda_psdev_write(struct file *file, const char __user *buf, goto out; } if ( nbytes > size ) { - pr_warn("Coda: downcall opc %d, uniq %d, too much!", + pr_warn("downcall opc %d, uniq %d, too much!", hdr.opcode, hdr.unique); nbytes = size; } @@ -400,7 +400,7 @@ static int __init init_coda(void) status = register_filesystem(&coda_fs_type); if (status) { - pr_warn("coda: failed to register filesystem!\n"); + pr_warn("failed to register filesystem!\n"); goto out; } return 0; @@ -422,7 +422,7 @@ static void __exit exit_coda(void) err = unregister_filesystem(&coda_fs_type); if (err != 0) - pr_warn("coda: failed to unregister filesystem\n"); + pr_warn("failed to unregister filesystem\n"); for (i = 0; i < MAX_CODADEVS; i++) device_destroy(coda_psdev_class, MKDEV(CODA_PSDEV_MAJOR, i)); class_destroy(coda_psdev_class); |