diff options
Diffstat (limited to 'fs/hpfs')
-rw-r--r-- | fs/hpfs/buffer.c | 1 | ||||
-rw-r--r-- | fs/hpfs/hpfs_fn.h | 7 | ||||
-rw-r--r-- | fs/hpfs/inode.c | 2 |
3 files changed, 1 insertions, 9 deletions
diff --git a/fs/hpfs/buffer.c b/fs/hpfs/buffer.c index 9ecde27d1e29..f49d1498aa2e 100644 --- a/fs/hpfs/buffer.c +++ b/fs/hpfs/buffer.c | |||
@@ -156,7 +156,6 @@ void hpfs_brelse4(struct quad_buffer_head *qbh) | |||
156 | 156 | ||
157 | void hpfs_mark_4buffers_dirty(struct quad_buffer_head *qbh) | 157 | void hpfs_mark_4buffers_dirty(struct quad_buffer_head *qbh) |
158 | { | 158 | { |
159 | PRINTK(("hpfs_mark_4buffers_dirty\n")); | ||
160 | memcpy(qbh->bh[0]->b_data, qbh->data, 512); | 159 | memcpy(qbh->bh[0]->b_data, qbh->data, 512); |
161 | memcpy(qbh->bh[1]->b_data, qbh->data + 512, 512); | 160 | memcpy(qbh->bh[1]->b_data, qbh->data + 512, 512); |
162 | memcpy(qbh->bh[2]->b_data, qbh->data + 2 * 512, 512); | 161 | memcpy(qbh->bh[2]->b_data, qbh->data + 2 * 512, 512); |
diff --git a/fs/hpfs/hpfs_fn.h b/fs/hpfs/hpfs_fn.h index de946170ebb1..6d2d5008fa43 100644 --- a/fs/hpfs/hpfs_fn.h +++ b/fs/hpfs/hpfs_fn.h | |||
@@ -35,13 +35,6 @@ | |||
35 | 35 | ||
36 | #define CHKCOND(x,y) if (!(x)) printk y | 36 | #define CHKCOND(x,y) if (!(x)) printk y |
37 | 37 | ||
38 | #ifdef DBG | ||
39 | #define PRINTK(x) printk x | ||
40 | #else | ||
41 | #undef PRINTK | ||
42 | #define PRINTK(x) | ||
43 | #endif | ||
44 | |||
45 | struct hpfs_inode_info { | 38 | struct hpfs_inode_info { |
46 | loff_t mmu_private; | 39 | loff_t mmu_private; |
47 | ino_t i_parent_dir; /* (directories) gives fnode of parent dir */ | 40 | ino_t i_parent_dir; /* (directories) gives fnode of parent dir */ |
diff --git a/fs/hpfs/inode.c b/fs/hpfs/inode.c index 3b2cec29972b..b43066cbdc6a 100644 --- a/fs/hpfs/inode.c +++ b/fs/hpfs/inode.c | |||
@@ -299,7 +299,7 @@ void hpfs_write_if_changed(struct inode *inode) | |||
299 | void hpfs_evict_inode(struct inode *inode) | 299 | void hpfs_evict_inode(struct inode *inode) |
300 | { | 300 | { |
301 | truncate_inode_pages(&inode->i_data, 0); | 301 | truncate_inode_pages(&inode->i_data, 0); |
302 | end_writeback(inode); | 302 | clear_inode(inode); |
303 | if (!inode->i_nlink) { | 303 | if (!inode->i_nlink) { |
304 | hpfs_lock(inode->i_sb); | 304 | hpfs_lock(inode->i_sb); |
305 | hpfs_remove_fnode(inode->i_sb, inode->i_ino); | 305 | hpfs_remove_fnode(inode->i_sb, inode->i_ino); |