Re: [patch] stop inotify from sending random DELETE_SELF event underload

From: Linus Torvalds
Date: Mon Sep 19 2005 - 23:30:39 EST




On Tue, 20 Sep 2005, Al Viro wrote:
>
> Uhh... I still don't understand which behaviour do you want.
>
> * removal of this link, postponed to indefinite future (until we
> do not have any users of that dentry) [ new behaviour ]
> * moment when the last link is gone _and_ nobody uses any dentries
> pointing to object, with information taken from the last one still in use
> [ old behaviour ]

Old behaviour (well, "old" is relative) is apparently the expected one.

But the old behaviour had a bug: we _also_ call dentry_iput() for
non-deletes.

Linus
-
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/