On Sun, Oct 24, 2010 at 08:17:35PM +0100, Al Viro wrote:
And having it fail is a good thing. XIP mode means different file and
address_space operations, which we don't even try to deal with right
now. Not allowing transitions from/to it is the right thing.
I don't think it should mess with fsnotify. fsnotify_unmount_inodes
assumes it's only called on umount right now, and sends umount
notifications to userspace (see my mail from a few days ago). So if
you split invalidate_inodes it really should only go into the umount
one.
--