diff options
author | Amir Goldstein <amir73il@gmail.com> | 2018-09-01 03:41:11 -0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2018-09-03 09:14:01 -0400 |
commit | 1e6cb72399fd58b38a1c11055ef18fe01f535cda (patch) | |
tree | 1d2867b32812df127a09712ca5c0362bc6f156c2 /fs/super.c | |
parent | 9bdda4e9cf2dcecb60a0683b10ffb8cd7e5f2f45 (diff) |
fsnotify: add super block object type
Add the infrastructure to attach a mark to a super_block struct
and detach all attached marks when super block is destroyed.
This is going to be used by fanotify backend to setup super block
marks.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/super.c')
-rw-r--r-- | fs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/super.c b/fs/super.c index f3a8c008e164..ca53a08497ed 100644 --- a/fs/super.c +++ b/fs/super.c | |||
@@ -442,7 +442,7 @@ void generic_shutdown_super(struct super_block *sb) | |||
442 | sync_filesystem(sb); | 442 | sync_filesystem(sb); |
443 | sb->s_flags &= ~SB_ACTIVE; | 443 | sb->s_flags &= ~SB_ACTIVE; |
444 | 444 | ||
445 | fsnotify_unmount_inodes(sb); | 445 | fsnotify_sb_delete(sb); |
446 | cgroup_writeback_umount(); | 446 | cgroup_writeback_umount(); |
447 | 447 | ||
448 | evict_inodes(sb); | 448 | evict_inodes(sb); |