X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Ffile_table.c;h=1d3de78e6bc960ddeb2b4b42eed7815c64aca298;hb=f2ab4461249df85b20930a7a57b54f39c5ae291a;hp=fa7849fae134b371a80b90f95fda9e19bfb185b5;hpb=38b22b6e9f46ab8f73ef5734f0e0a000766a9258;p=linux-2.6 diff --git a/fs/file_table.c b/fs/file_table.c index fa7849fae1..1d3de78e6b 100644 --- a/fs/file_table.c +++ b/fs/file_table.c @@ -16,6 +16,7 @@ #include #include #include +#include /* sysctl tunables... */ struct files_stat_struct files_stat = { @@ -126,6 +127,8 @@ void fastcall __fput(struct file *file) struct inode *inode = dentry->d_inode; might_sleep(); + + fsnotify_close(file); /* * The function eventpoll_release() should be the first called * in the file cleanup chain.