diff options
author | Joe Perches <joe@perches.com> | 2013-04-30 18:27:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-30 20:04:05 -0400 |
commit | c2b3e1f76e5c90215bc7f740b376c0220eb8a8e3 (patch) | |
tree | 4ffbb3029d06909e05621ebb96b66052640f3ff7 /fs/hfsplus/super.c | |
parent | 5f3726f9457d5a863721353786e3395cdbd0f943 (diff) |
hfs/hfsplus: convert dprint to hfs_dbg
Use a more current logging style.
Rename macro and uses.
Add do {} while (0) to macro.
Add DBG_ to macro.
Add and use hfs_dbg_cont variant where appropriate.
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Vyacheslav Dubeyko <slava@dubeyko.com>
Cc: Hin-Tak Leung <htl10@users.sourceforge.net>
Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hfsplus/super.c')
-rw-r--r-- | fs/hfsplus/super.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/hfsplus/super.c b/fs/hfsplus/super.c index 7b87284e46dc..4886fd37c082 100644 --- a/fs/hfsplus/super.c +++ b/fs/hfsplus/super.c | |||
@@ -145,7 +145,7 @@ static int hfsplus_write_inode(struct inode *inode, | |||
145 | { | 145 | { |
146 | int err; | 146 | int err; |
147 | 147 | ||
148 | dprint(DBG_INODE, "hfsplus_write_inode: %lu\n", inode->i_ino); | 148 | hfs_dbg(INODE, "hfsplus_write_inode: %lu\n", inode->i_ino); |
149 | 149 | ||
150 | err = hfsplus_ext_write_extent(inode); | 150 | err = hfsplus_ext_write_extent(inode); |
151 | if (err) | 151 | if (err) |
@@ -160,7 +160,7 @@ static int hfsplus_write_inode(struct inode *inode, | |||
160 | 160 | ||
161 | static void hfsplus_evict_inode(struct inode *inode) | 161 | static void hfsplus_evict_inode(struct inode *inode) |
162 | { | 162 | { |
163 | dprint(DBG_INODE, "hfsplus_evict_inode: %lu\n", inode->i_ino); | 163 | hfs_dbg(INODE, "hfsplus_evict_inode: %lu\n", inode->i_ino); |
164 | truncate_inode_pages(&inode->i_data, 0); | 164 | truncate_inode_pages(&inode->i_data, 0); |
165 | clear_inode(inode); | 165 | clear_inode(inode); |
166 | if (HFSPLUS_IS_RSRC(inode)) { | 166 | if (HFSPLUS_IS_RSRC(inode)) { |
@@ -179,7 +179,7 @@ static int hfsplus_sync_fs(struct super_block *sb, int wait) | |||
179 | if (!wait) | 179 | if (!wait) |
180 | return 0; | 180 | return 0; |
181 | 181 | ||
182 | dprint(DBG_SUPER, "hfsplus_sync_fs\n"); | 182 | hfs_dbg(SUPER, "hfsplus_sync_fs\n"); |
183 | 183 | ||
184 | /* | 184 | /* |
185 | * Explicitly write out the special metadata inodes. | 185 | * Explicitly write out the special metadata inodes. |
@@ -275,7 +275,7 @@ static void hfsplus_put_super(struct super_block *sb) | |||
275 | { | 275 | { |
276 | struct hfsplus_sb_info *sbi = HFSPLUS_SB(sb); | 276 | struct hfsplus_sb_info *sbi = HFSPLUS_SB(sb); |
277 | 277 | ||
278 | dprint(DBG_SUPER, "hfsplus_put_super\n"); | 278 | hfs_dbg(SUPER, "hfsplus_put_super\n"); |
279 | 279 | ||
280 | cancel_delayed_work_sync(&sbi->sync_work); | 280 | cancel_delayed_work_sync(&sbi->sync_work); |
281 | 281 | ||