Two .rej files when patching from 2.6.8.1 to 2.6.9-rc1
Hi.
There are two .rej files when I patch 2.6.8.1 to 2.6.9-rc1 (I ran 'make mrproper' when I unpacked 2.6.8.1 tarball). These are :
linux-2.6.9-rc1/Makefile.rej
-------------------------------------------
***************
*** 1,7 ****
VERSION = 2
PATCHLEVEL = 6
- SUBLEVEL = 8
- EXTRAVERSION =
NAME=Zonked Quokka
# *DOCUMENTATION*
--- 1,7 ----
VERSION = 2
PATCHLEVEL = 6
+ SUBLEVEL = 9
+ EXTRAVERSION = -rc1
NAME=Zonked Quokka
# *DOCUMENTATION*
-------------------------------------------
and linux-2.6.9-rc1/fs/nfs/file.c.rej.
------------------------------------------------
***************
*** 72,78 ****
static int nfs_check_flags(int flags)
{
- if (flags & (O_APPEND | O_DIRECT))
return -EINVAL;
return 0;
--- 74,80 ----
static int nfs_check_flags(int flags)
{
+ if ((flags & (O_APPEND | O_DIRECT)) == (O_APPEND | O_DIRECT))
return -EINVAL;
return 0;
***************
*** 89,95 ****
int res;
res = nfs_check_flags(filp->f_flags);
- if (!res)
return res;
lock_kernel();
--- 91,97 ----
int res;
res = nfs_check_flags(filp->f_flags);
+ if (res)
return res;
lock_kernel();
------------------------------------------------------------
HTH.
Pedja
LGOEG
Signature · 2 lines
Give a man a match, and he'll be warm for a minute, but set him on fire, and he'll be warm for the rest of his life.
Quoted 5 lines · Predrag Ivanovic
Hi.
There are two .rej files when I patch 2.6.8.1 to 2.6.9-rc1 (I ran 'make mrproper' when I unpacked 2.6.8.1 tarball). These are :
2.6.9-rc1 should be applied on top of 2.6.8 (and not 2.6.8.1).
Quoted 1 line · On Thu, 26 Aug 2004 01:31:36 +0000 Predrag Ivanovic <[email protected]> wrote:
There are two .rej files when I patch 2.6.8.1 to 2.6.9-rc1
Because the 2.6.9-rc1 patch is against 2.6.8 not 2.6.8.1
Quoted 8 lines · On Wed, 25 Aug 2004 16:50:08 -0700 "David S. Miller" <[email protected]> wrote:
Quoted 1 line · On Thu, 26 Aug 2004 01:31:36 +0000 Predrag Ivanovic <[email protected]> wrote:
There are two .rej files when I patch 2.6.8.1 to 2.6.9-rc1
Because the 2.6.9-rc1 patch is against 2.6.8 not 2.6.8.1
Since 2.6.8.1 is latest,I figured that 2.6.9-rc1 should be appllied to it.
Sorry,my mistake :-)
Pedja
Signature · 2 lines
I shall sellotape my cat to a skateboard and fire him into the lake with a dwarf on his back! -- Adrian Foden plotting Animal Jackass.
Quoted 13 lines · Predrag Ivanovic
Hi.
There are two .rej files when I patch 2.6.8.1 to 2.6.9-rc1 (I ran 'make mrproper' when I unpacked 2.6.8.1 tarball). These are :
linux-2.6.9-rc1/Makefile.rej
-------------------------------------------
***************
.....
.....
lock_kernel();
------------------------------------------------------------
Quoted 3 lines
HTH.
Pedja
LGOEG
the 2.6.9-rc1 patch is build against 2.6.8, not 2.6.8.1, so you will need to do a 'patch -p1 < patch-2.6.8.1 -R' and patch afterwards with -rc1.
regards,
dominik
Quoted 3 lines · Predrag Ivanovic
Hi.
There are two .rej files when I patch 2.6.8.1 to 2.6.9-rc1
2.6.9-rc1 is to be patched against 2.6.8 and not 2.6.8.1
Daniel Andersen
--