Re: Re: [RFC/PATCH] revoke/frevoke system calls V2

From: Alan Cox
Date: Thu Jul 27 2006 - 12:09:35 EST

Ar Iau, 2006-07-27 am 19:01 +0300, ysgrifennodd Pekka J Enberg:
> Yes revoke calls it too, but is that sufficient, or do we need ->revoke?
> Ouch. You are right. I need to stick that invalidate_inode_pages2
> back in there. The do_fsync call takes care of writes only, obviously.

Actually that isn't true either - it takes care of *regular file*
writes. Devices will need a revoke hook and thats really probably only
right. If they don't have one just -EOPNOTSUPP, you can check it before
you begin any other processing so its easy to check.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at