diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-06-06 14:36:34 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-06 16:08:10 -0700 |
commit | b7cb1ce2205c45bf6d356cd358b52adb55bbcf5d (patch) | |
tree | 8ce78fd4de9d804015efe5e94c56f993c50db4b3 /fs/hpfs/inode.c | |
parent | 45641c82c1e3aeaef72d693b24938da45ffb0cfc (diff) | |
download | op-kernel-dev-b7cb1ce2205c45bf6d356cd358b52adb55bbcf5d.zip op-kernel-dev-b7cb1ce2205c45bf6d356cd358b52adb55bbcf5d.tar.gz |
fs/hpfs: convert printk to pr_foo()
No level printk in hptfs_error converted to pr_err (others to pr_warn or
pr_info)
This patch also fixes if/then/else checkpatch warnings
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>
Diffstat (limited to 'fs/hpfs/inode.c')
-rw-r--r-- | fs/hpfs/inode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/hpfs/inode.c b/fs/hpfs/inode.c index 50a4273..42c2908 100644 --- a/fs/hpfs/inode.c +++ b/fs/hpfs/inode.c @@ -183,7 +183,8 @@ void hpfs_write_inode(struct inode *i) struct inode *parent; if (i->i_ino == hpfs_sb(i->i_sb)->sb_root) return; if (hpfs_inode->i_rddir_off && !atomic_read(&i->i_count)) { - if (*hpfs_inode->i_rddir_off) printk("HPFS: write_inode: some position still there\n"); + if (*hpfs_inode->i_rddir_off) + pr_warn("HPFS: write_inode: some position still there\n"); kfree(hpfs_inode->i_rddir_off); hpfs_inode->i_rddir_off = NULL; } |