From: Chris Wright Date: Tue, 16 May 2006 23:07:30 +0000 (-0700) Subject: typo fix fs/compat.c X-Git-Tag: v2.6.16.17~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1c985600f8d77d8e33cebfa3c1063c41940f20f4;p=thirdparty%2Fkernel%2Fstable-queue.git typo fix fs/compat.c --- diff --git a/queue-2.6.16/fs-compat.c-fix-if-typo.patch b/queue-2.6.16/fs-compat.c-fix-if-typo.patch new file mode 100644 index 00000000000..f5cae29baf4 --- /dev/null +++ b/queue-2.6.16/fs-compat.c-fix-if-typo.patch @@ -0,0 +1,33 @@ +From stable-bounces@linux.kernel.org Mon May 15 09:56:31 2006 +Date: Mon, 15 May 2006 09:44:27 -0700 +From: akpm@osdl.org +To: torvalds@osdl.org +Cc: stable@kernel.org, dwmw2@infradead.org, adobriyan@gmail.com, drepper@redhat.com +Subject: [PATCH] fs/compat.c: fix 'if (a |= b )' typo + +From: Alexey Dobriyan + +Mentioned by Mark Armbrust somewhere on Usenet. + +Signed-off-by: Alexey Dobriyan +Cc: David Woodhouse +Cc: Ulrich Drepper +Cc: +Signed-off-by: Andrew Morton +Signed-off-by: Chris Wright +--- + + fs/compat.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- linux-2.6.16.16.orig/fs/compat.c ++++ linux-2.6.16.16/fs/compat.c +@@ -1901,7 +1901,7 @@ asmlinkage long compat_sys_ppoll(struct + } + + if (sigmask) { +- if (sigsetsize |= sizeof(compat_sigset_t)) ++ if (sigsetsize != sizeof(compat_sigset_t)) + return -EINVAL; + if (copy_from_user(&ss32, sigmask, sizeof(ss32))) + return -EFAULT; diff --git a/queue-2.6.16/series b/queue-2.6.16/series index 9f2f5abad85..07a2b71886e 100644 --- a/queue-2.6.16/series +++ b/queue-2.6.16/series @@ -3,3 +3,4 @@ via-rhine-zero-pad-short-packets-on-rhine-i-ethernet-cards.patch usb-ub-oops-in-block_uevent.patch fs-locks.c-Fix-sys_flock-race.patch smbfs-fix-slab-corruption-in-samba-error-path.patch +fs-compat.c-fix-if-typo.patch