diff options
author | Christoph Hellwig <hch@lst.de> | 2018-04-11 11:37:23 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-05-16 07:24:30 +0200 |
commit | 247dbed8c952559222742de21d026d5a2e83e239 (patch) | |
tree | d5045305224c3f10f44fbab068ab04f910aa642d /fs/ext4/ext4.h | |
parent | 353861cf05945002c3ddeb2519b0dc5f7bb765d5 (diff) | |
download | linux-stable-247dbed8c952559222742de21d026d5a2e83e239.tar.gz linux-stable-247dbed8c952559222742de21d026d5a2e83e239.tar.bz2 linux-stable-247dbed8c952559222742de21d026d5a2e83e239.zip |
ext4: simplify procfs code
Use remove_proc_subtree to remove the whole subtree on cleanup, and
unwind the registration loop into individual calls. Switch to use
proc_create_seq where applicable.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index a42e71203e53..229ea4da6785 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h @@ -2390,7 +2390,7 @@ extern int ext4_init_inode_table(struct super_block *sb, extern void ext4_end_bitmap_read(struct buffer_head *bh, int uptodate); /* mballoc.c */ -extern const struct file_operations ext4_seq_mb_groups_fops; +extern const struct seq_operations ext4_mb_seq_groups_ops; extern long ext4_mb_stats; extern long ext4_mb_max_to_scan; extern int ext4_mb_init(struct super_block *); |