diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-19 11:23:53 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-19 11:23:53 -0500 |
commit | e93b1cc8a8965da137ffea0b88e5f62fa1d2a9e6 (patch) | |
tree | 9757e9167daff086a314b031429d9b65a39b96bc /include/linux/fs.h | |
parent | 45d36906e256fe9f8e976461b4c559722c3cbe2a (diff) | |
parent | 2700e6067c72a99d1b7037692da0145ac44623c4 (diff) |
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
Pull quota, fsnotify and ext2 updates from Jan Kara:
"Changes to locking of some quota operations from dedicated quota mutex
to s_umount semaphore, a fsnotify fix and a simple ext2 fix"
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
quota: Fix bogus warning in dquot_disable()
fsnotify: Fix possible use-after-free in inode iteration on umount
ext2: reject inodes with negative size
quota: Remove dqonoff_mutex
ocfs2: Use s_umount for quota recovery protection
quota: Remove dqonoff_mutex from dquot_scan_active()
ocfs2: Protect periodic quota syncing with s_umount semaphore
quota: Use s_umount protection for quota operations
quota: Hold s_umount in exclusive mode when enabling / disabling quotas
fs: Provide function to get superblock with exclusive s_umount
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index e6e4146bf9ae..2ba074328894 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -2903,8 +2903,10 @@ extern void put_filesystem(struct file_system_type *fs); | |||
2903 | extern struct file_system_type *get_fs_type(const char *name); | 2903 | extern struct file_system_type *get_fs_type(const char *name); |
2904 | extern struct super_block *get_super(struct block_device *); | 2904 | extern struct super_block *get_super(struct block_device *); |
2905 | extern struct super_block *get_super_thawed(struct block_device *); | 2905 | extern struct super_block *get_super_thawed(struct block_device *); |
2906 | extern struct super_block *get_super_exclusive_thawed(struct block_device *bdev); | ||
2906 | extern struct super_block *get_active_super(struct block_device *bdev); | 2907 | extern struct super_block *get_active_super(struct block_device *bdev); |
2907 | extern void drop_super(struct super_block *sb); | 2908 | extern void drop_super(struct super_block *sb); |
2909 | extern void drop_super_exclusive(struct super_block *sb); | ||
2908 | extern void iterate_supers(void (*)(struct super_block *, void *), void *); | 2910 | extern void iterate_supers(void (*)(struct super_block *, void *), void *); |
2909 | extern void iterate_supers_type(struct file_system_type *, | 2911 | extern void iterate_supers_type(struct file_system_type *, |
2910 | void (*)(struct super_block *, void *), void *); | 2912 | void (*)(struct super_block *, void *), void *); |