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:

committed by
Linus Torvalds

parent
b7cb1ce220
commit
14da17f9c4
@@ -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) {
|
||||
|
Reference in New Issue
Block a user