History

mm,fs: split dump_mapping() out from dump_page()

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.

Matthew Wilcox (Oracle) committed 4 years ago

Commit 3e9d80a1 parent 26dca993 files · +52 −50Browse files

Showing the changes to include (1 of 3 files). Show all

Unified · Split

include/linux/fs.h+1−0
@@ -3152,6 +3152,7 @@ extern void unlock_new_inode(struct inode *); · 3151 unmodified lines
31523152 extern void discard_new_inode(struct inode *);
31533153 extern unsigned int get_next_ino(void);
31543154 extern void evict_inodes(struct super_block *sb);
3155+void dump_mapping(const struct address_space *);
31553156
31563157 /*
31573158 * Userspace may rely on the the inode number being non-zero. For example, glibc

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t