dump_mapping() is a big chunk of dump_page(), and it'd be handy to be able to call it when we don't have a struct page. Split it out and move it to fs/inode.c. Take the opportunity to simplify some of the debug messages a little.
Showing the changes to include (1 of 3 files). Show all
Unified · Split
| @@ -3152,6 +3152,7 @@ extern void unlock_new_inode(struct inode *); · 3151 unmodified lines | ||
| 3152 | 3152 | extern void discard_new_inode(struct inode *); |
| 3153 | 3153 | extern unsigned int get_next_ino(void); |
| 3154 | 3154 | extern void evict_inodes(struct super_block *sb); |
| 3155 | +void dump_mapping(const struct address_space *); | |
| 3155 | 3156 | |
| 3156 | 3157 | /* |
| 3157 | 3158 | * Userspace may rely on the the inode number being non-zero. For example, glibc |