diff options
author | Amir Goldstein <amir73il@gmail.com> | 2020-07-22 15:58:44 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2020-07-27 23:13:51 +0200 |
commit | 82ace1efb3cb1d49a1681cc6e31156047d5ae1f2 (patch) | |
tree | 1d0f8cc34211dfe9aa9c29e36b758d004043a38b /fs/notify/fsnotify.c | |
parent | 497b0c5a7c0688c1b100a9c2e267337f677c198e (diff) |
fsnotify: create helper fsnotify_inode()
Simple helper to consolidate biolerplate code.
Link: https://lore.kernel.org/r/20200722125849.17418-5-amir73il@gmail.com
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/notify/fsnotify.c')
-rw-r--r-- | fs/notify/fsnotify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/notify/fsnotify.c b/fs/notify/fsnotify.c index 0b0e01e04349..ba172b742de5 100644 --- a/fs/notify/fsnotify.c +++ b/fs/notify/fsnotify.c @@ -74,7 +74,7 @@ static void fsnotify_unmount_inodes(struct super_block *sb) iput(iput_inode); /* for each watch, send FS_UNMOUNT and then remove it */ - fsnotify(inode, FS_UNMOUNT, inode, FSNOTIFY_EVENT_INODE, NULL, 0); + fsnotify_inode(inode, FS_UNMOUNT); fsnotify_inode_delete(inode); |