fs/hpfs: use pr_fmt for logging

Also remove redundant level names (warning:...)

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Fabian Frederick
2014-06-06 14:36:34 -07:00
committed by Linus Torvalds
parent b7cb1ce220
commit 14da17f9c4
10 changed files with 56 additions and 51 deletions

View File

@@ -127,7 +127,7 @@ static int hpfs_readdir(struct file *file, struct dir_context *ctx)
if (ctx->pos == 12)
goto out;
if (ctx->pos == 3 || ctx->pos == 4 || ctx->pos == 5) {
pr_warn("HPFS: warning: pos==%d\n", (int)ctx->pos);
pr_warn("pos==%d\n", (int)ctx->pos);
goto out;
}
if (ctx->pos == 0) {