Hi Willy,

From: Matthew Wilcox <[EMAIL PROTECTED]>
> 
> of getting rid of some old cruft which wasn't used any more.  This patch is
> i386 only -- just add constants to other arch include files as required.
> 
> diff -urNX dontdiff linux-245p1/include/asm-i386/fcntl.h 
>linux-245p1-vfs/include/asm-i386/fcntl.h
> --- linux-245p1/include/asm-i386/fcntl.h      Sun May  6 09:13:24 2001
> +++ linux-245p1-vfs/include/asm-i386/fcntl.h  Sun May  6 04:59:14 2001
> @@ -39,6 +39,9 @@
>  #define F_SETLK64    13
>  #define F_SETLKW64   14
>  
> +#define F_SETLK_NP   15      /* Nonposix semantics */
> +#define F_SETLKW_NP  16      /* Nonposix semantics */


Please patch include/linux/fcntl.h instead and use

#define F_SETLK_NP      (F_LINUX_SPECIFIC_BASE+3)
#define F_SETLKW_NP     (F_LINUX_SPECIFIC_BASE+4)

That's what F_LINUX_SPECIFIC_BASE was created for (so we would not
have to patch all the arch specific fcntl.h files ...)

Cheers,
Stephen Rothwell                [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]

Reply via email to