diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2009-12-18 03:24:27 +0100 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-07-28 15:58:57 +0200 |
commit | ca9c726eea013394d1e846331b117effb21ead83 (patch) | |
tree | de2319fb43b4fa16d07ecbcd75022cdaf9a757e1 /fs/namespace.c | |
parent | fsnotify: vfsmount marks generic functions (diff) | |
download | linux-ca9c726eea013394d1e846331b117effb21ead83.tar.xz linux-ca9c726eea013394d1e846331b117effb21ead83.zip |
fsnotify: Infrastructure for per-mount watches
Per-mount watches allow groups to listen to fsnotify events on an entire
mount. This patch simply adds and initializes the fields needed in the
vfsmount struct to make this happen.
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'fs/namespace.c')
-rw-r--r-- | fs/namespace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index a2d681a6b5e9..1969d6b2571e 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -614,6 +614,7 @@ static inline void __mntput(struct vfsmount *mnt) * provides barriers, so count_mnt_writers() below is safe. AV */ WARN_ON(count_mnt_writers(mnt)); + fsnotify_vfsmount_delete(mnt); dput(mnt->mnt_root); free_vfsmnt(mnt); deactivate_super(sb); |