From: John McCutchan Date: Mon, 15 Aug 2005 16:13:28 +0000 (-0400) Subject: [PATCH] inotify: add MOVE_SELF event X-Git-Tag: v2.6.13-rc7~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89204c40a03346cd951e698d854105db4cfedc28;p=pandora-kernel.git [PATCH] inotify: add MOVE_SELF event This adds a MOVE_SELF event to inotify. It is sent whenever the inode you are watching is moved. We need this event so that we can catch something like this: - app1: watch /etc/mtab - app2: cp /etc/mtab /tmp/mtab-work mv /etc/mtab /etc/mtab~ mv /tmp/mtab-work /etc/mtab app1 still thinks it's watching /etc/mtab but it's actually watching /etc/mtab~. Signed-off-by: John McCutchan Signed-off-by: Robert Love Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed