mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
45641c82c1
commit
b7cb1ce220
10 changed files with 89 additions and 67 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue