Le dim 15/08/2004 Ã 16:14, Arjan van de Ven a Ãcrit : > > I gave kernel-smp-2.6.8-1.520 a test run on my desktop before putting it > > on the server, and the kernel crashes on boot with an NFS error. I guess > > that that won't be a problem on the server, as the server isn't an NFS > > client. I'm not sure if it's the same bug which caused the 2.6.8.1 release. > > doubt it... 520 has that fix included Are you sure ? I just rebuild 520 with that patch (from 2.6.8.1) : diff -Nru a/fs/nfs/file.c b/fs/nfs/file.c --- a/fs/nfs/file.c 2004-08-14 03:56:28 -07:00 +++ b/fs/nfs/file.c 2004-08-14 03:56:28 -07:00 @@ -72,7 +72,7 @@ static int nfs_check_flags(int flags) { - if (flags & (O_APPEND | O_DIRECT)) + if ((flags & (O_APPEND | O_DIRECT)) == (O_APPEND | O_DIRECT)) return -EINVAL; return 0; @@ -89,7 +89,7 @@ int res; res = nfs_check_flags(filp->f_flags); - if (!res) + if (res) return res; lock_kernel(); It applies and works perfectly :-)
Attachment:
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=