Re: [PATCH] revoke: consolidate revoked file operations

2007-03-09 Thread Alan Cox
On Fri, Mar 09, 2007 at 01:55:06PM +0200, Pekka J Enberg wrote: > From: Pekka Enberg <[EMAIL PROTECTED]> > > Return EBADF for all revoked file operations except for read(2) which > returns zero for special files as the BSDs do and close(2) which is > always zero. > > Cc: Alan Cox <[EMAIL

[PATCH] revoke: consolidate revoked file operations

2007-03-09 Thread Pekka J Enberg
From: Pekka Enberg <[EMAIL PROTECTED]> Return EBADF for all revoked file operations except for read(2) which returns zero for special files as the BSDs do and close(2) which is always zero. Cc: Alan Cox <[EMAIL PROTECTED]> Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]> --- fs/revoked_inode.c

[PATCH] revoke: consolidate revoked file operations

2007-03-09 Thread Pekka J Enberg
From: Pekka Enberg [EMAIL PROTECTED] Return EBADF for all revoked file operations except for read(2) which returns zero for special files as the BSDs do and close(2) which is always zero. Cc: Alan Cox [EMAIL PROTECTED] Signed-off-by: Pekka Enberg [EMAIL PROTECTED] --- fs/revoked_inode.c | 367

Re: [PATCH] revoke: consolidate revoked file operations

2007-03-09 Thread Alan Cox
On Fri, Mar 09, 2007 at 01:55:06PM +0200, Pekka J Enberg wrote: From: Pekka Enberg [EMAIL PROTECTED] Return EBADF for all revoked file operations except for read(2) which returns zero for special files as the BSDs do and close(2) which is always zero. Cc: Alan Cox [EMAIL PROTECTED]