Re: [PATCH] fs: don't remove inotify watchers from alive inode-s (v2)

From: Cyrill Gorcunov
Date: Fri Sep 19 2014 - 12:15:22 EST


On Fri, Sep 19, 2014 at 07:45:16PM +0400, Andrey Vagin wrote:
> Currently watchers are removed in dentry_iput(), if n_link is zero. But
> other detries can be linked with this inode.
>
...
>
> v2: generate IN_DELETE_SELF when the last link to the file is removed
>
> Reviewed-by: Jan Kara <jack@xxxxxxx>
Reviewed-by: Cyrill Gorcunov <gorcunov@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/