Linux Kernel Mailing List | 1 Dec 2005 01:59

[CIFS] When file is deleted locally but later recreated on the server

tree 10e8eac9df4380542fb8416137dffe3b8c08ad54
parent 458af5439fe7ae7d95ca14106844e61f0795166c
author Steve French <sfrench <at> us.ibm.com> Tue, 29 Nov 2005 00:16:13 -0800
committer Steve French <sfrench <at> us.ibm.com> Tue, 29 Nov 2005 00:16:13 -0800

[CIFS] When file is deleted locally but later recreated on the server
fix cifs negative dentries so they are freed faster (not requiring
umount or readdir e.g.) so the client recognizes the new file on
the server more quickly.

Signed-off-by: Steve French <sfrench <at> us.ibm.com>

 fs/cifs/CHANGES |    8 +++++---
 fs/cifs/dir.c   |   25 ++++++++++++++++---------
 fs/cifs/inode.c |   22 ++++++++++++++--------
 3 files changed, 35 insertions(+), 20 deletions(-)

diff --git a/fs/cifs/CHANGES b/fs/cifs/CHANGES
index 6bded10..c40bd0d 100644
--- a/fs/cifs/CHANGES
+++ b/fs/cifs/CHANGES
 <at>  <at>  -1,10 +1,12  <at>  <at> 
 Version 1.39
 ------------
-Defer close of a file handle slightly if pending writes depend on that file handle
+Defer close of a file handle slightly if pending writes depend on that handle
 (this reduces the EBADF bad file handle errors that can be logged under heavy
 stress on writes). Modify cifs Kconfig options to expose CONFIG_CIFS_STATS2 
-Fix SFU style symlinks and mknod needed for servers which do not support the CIFS
-Unix Extensions.  Fix setfacl/getfacl on bigendian. 
(Continue reading)

Linux Kernel Mailing List | 1 Dec 2005 01:59

[CIFS] Fix missing permission check on setattr when noperm mount option is

tree ededf2b339de4541e98c78b5d537ab954d9dc413
parent 3abb92722ab1784b419dadb5444daf8ea9636905
author Steve French <sfrench <at> us.ibm.com> Wed, 30 Nov 2005 12:20:10 -0800
committer Steve French <sfrench <at> us.ibm.com> Wed, 30 Nov 2005 12:20:10 -0800

[CIFS] Fix missing permission check on setattr when noperm mount option is
disabled.  Also set mode, uid, gid better on mkdir and create for the
case when Unix Extensions is not enabled and setuids is enabled. This is
necessary to fix the hole in which chown could be allowed for non-root
users in some cases if root mounted, and also to display the mode and uid
properly in some cases.

Signed-off-by: Steve French <sfrench <at> us.ibm.com>

 fs/cifs/CHANGES |    2 +-
 fs/cifs/README  |   30 ++++++++++++++++++++++++------
 fs/cifs/TODO    |    4 ++--
 fs/cifs/dir.c   |    9 ++++++++-
 fs/cifs/inode.c |   28 +++++++++++++++++++++++++---
 5 files changed, 60 insertions(+), 13 deletions(-)

diff --git a/fs/cifs/CHANGES b/fs/cifs/CHANGES
index c40bd0d..943ef9b 100644
--- a/fs/cifs/CHANGES
+++ b/fs/cifs/CHANGES
 <at>  <at>  -6,7 +6,7  <at>  <at>  stress on writes). Modify cifs Kconfig o
 Fix SFU style symlinks and mknod needed for servers which do not support the
 CIFS Unix Extensions.  Fix setfacl/getfacl on bigendian. Timeout negative
 dentries so files that the client sees as deleted but that later get created
-on the server will be recognized.
(Continue reading)

Linux Kernel Mailing List | 1 Dec 2005 01:59

[CIFS] Fix umount --force to wake up the pending response queue, not just

tree 6440fb91b6336e3dc988f06d951ab272610000fb
parent 6473a559c336d5c407f9df412ca2f55357767ff8
author Steve French <sfrench <at> us.ibm.com> Wed, 30 Nov 2005 12:55:11 -0800
committer Steve French <sfrench <at> us.ibm.com> Wed, 30 Nov 2005 12:55:11 -0800

[CIFS] Fix umount --force to wake up the pending response queue, not just
the request queue. Also periodically wakeup response_q so threads can
check if stuck requests have timed out. Workaround Windows server illegal smb
length on transact2 findfirst response.

Signed-off-by: Steve French <sfrench <at> us.ibm.com>

 fs/cifs/cifsfs.c    |   23 ++++++++++++++++++++++-
 fs/cifs/cifssmb.c   |   25 +++++++++++++++++++++++++
 fs/cifs/misc.c      |   17 ++++++++++++-----
 fs/cifs/netmisc.c   |    4 ++--
 fs/cifs/transport.c |    1 +
 5 files changed, 62 insertions(+), 8 deletions(-)

diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 51548ed..f4974b4 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
 <at>  <at>  -32,6 +32,7  <at>  <at> 
 #include <linux/seq_file.h>
 #include <linux/vfs.h>
 #include <linux/mempool.h>
+#include <linux/delay.h>
 #include "cifsfs.h"
 #include "cifspdu.h"
(Continue reading)

Linux Kernel Mailing List | 1 Dec 2005 01:59

[CIFS] Missing parenthesis and typo in previous fix

tree 181d9e6de5edd82eaf7d36c9946f93f68945ca2c
parent 606c0dafbe88102d64c1253caed8a2c36987070f
author Steve French <sfrench <at> us.ibm.com> Wed, 30 Nov 2005 13:22:19 -0800
committer Steve French <sfrench <at> us.ibm.com> Wed, 30 Nov 2005 13:22:19 -0800

[CIFS] Missing parenthesis and typo in previous fix

Signed-off-by: Steve French <sfrench <at> us.ibm.com>

 fs/cifs/cifsfs.c |    2 +-
 fs/cifs/inode.c  |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index f4974b4..2a13a2b 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
 <at>  <at>  -921,7 +921,7  <at>  <at>  static int cifs_dnotify_thread(void * du
 			ses = list_entry(tmp, struct cifsSesInfo, 
 				cifsSessionList);
 			if(ses && ses->server && 
-			     atomic_read(&ses->server->inSend))
+			     atomic_read(&ses->server->inFlight))
 				wake_up_all(&ses->server->response_q);
 		}
 		read_unlock(&GlobalSMBSeslock);
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index 053c1ca..e877346 100644
--- a/fs/cifs/inode.c
+++ b/fs/cifs/inode.c
(Continue reading)

Linux Kernel Mailing List | 1 Dec 2005 01:59

[CIFS] For previous fix, mode on mkdir needed S_IFDIR left out.

tree 13d461a077696ad85a6d391a9559393d29e21ac3
parent 2a138ebb012ac42c082ae8b40c87c1f265664391
author Steve French <sfrench <at> us.ibm.com> Wed, 30 Nov 2005 14:38:43 -0800
committer Steve French <sfrench <at> us.ibm.com> Wed, 30 Nov 2005 14:38:43 -0800

[CIFS] For previous fix, mode on mkdir needed S_IFDIR left out.

Signed-off-by: Steve French <sfrench <at> us.ibm.com>

 fs/cifs/inode.c |    1 +
 1 files changed, 1 insertion(+)

diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index e877346..411c1f7 100644
--- a/fs/cifs/inode.c
+++ b/fs/cifs/inode.c
 <at>  <at>  -770,6 +770,7  <at>  <at>  int cifs_mkdir(struct inode *inode, stru
 						 -1, -1, local_nls); */
 			if(direntry->d_inode) {
 				direntry->d_inode->i_mode = mode;
+				direntry->d_inode->i_mode |= S_IFDIR;
 				if(cifs_sb->mnt_cifs_flags & 
 				     CIFS_MOUNT_SET_UID) {
 					direntry->d_inode->i_uid = 
Linux Kernel Mailing List | 1 Dec 2005 07:59

Linux v2.6.15-rc4

tree cec49fea2095ec77123684854ed519f01cf890da
parent d2149b542382bfc206cb28485108f6470c979566
author Linus Torvalds <torvalds <at> g5.osdl.org> Thu, 01 Dec 2005 14:25:15 -0800
committer Linus Torvalds <torvalds <at> g5.osdl.org> Thu, 01 Dec 2005 14:25:15 -0800

Linux v2.6.15-rc4

 Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 5187fee..4643d57 100644
--- a/Makefile
+++ b/Makefile
 <at>  <at>  -1,7 +1,7  <at>  <at> 
 VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 15
-EXTRAVERSION =-rc3
+EXTRAVERSION =-rc4
 NAME=Affluent Albatross

 # *DOCUMENTATION*
Linux Kernel Mailing List | 2 Dec 2005 02:02

[PATCH] V4L: Fixes warning at bttv-driver.c

tree 3f523c672b7220d79c0ca477458f34898d135f47
parent f5b974cb16dd95d1ae0424f68f74550dbd793a33
author Luiz Capitulino <lcapitulino <at> mandriva.com.br> Thu, 01 Dec 2005 16:51:24 -0800
committer Linus Torvalds <torvalds <at> g5.osdl.org> Fri, 02 Dec 2005 07:48:56 -0800

[PATCH] V4L: Fixes warning at bttv-driver.c

Fixes warning at bttv-driver.c

Signed-off-by: Luiz Capitulino <lcapitulino <at> mandriva.com.br>
Signed-off-by: Mauro Carvalho Chehab <mchehab <at> brturbo.com.br>
Signed-off-by: Andrew Morton <akpm <at> osdl.org>
Signed-off-by: Linus Torvalds <torvalds <at> osdl.org>

 drivers/media/video/bttv-driver.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/video/bttv-driver.c b/drivers/media/video/bttv-driver.c
index 709099f..5bc5222 100644
--- a/drivers/media/video/bttv-driver.c
+++ b/drivers/media/video/bttv-driver.c
 <at>  <at>  -1853,7 +1853,7  <at>  <at>  static int bttv_common_ioctls(struct btt
 	}
 	case VIDIOC_LOG_STATUS:
 	{
-		bttv_call_i2c_clients(btv, VIDIOC_LOG_STATUS, 0);
+		bttv_call_i2c_clients(btv, VIDIOC_LOG_STATUS, NULL);
 		return 0;
 	}

(Continue reading)

Linux Kernel Mailing List | 2 Dec 2005 02:02

[PATCH] V4L: Fix hotplugging issues with saa7134

tree 214fa2dc0ac32d84c56fe4a74b613eae6fbf68a0
parent 938606b02b3d7b587777e5b1e44f4196903250ca
author Ricardo Cerqueira <v4l <at> cerqueira.org> Thu, 01 Dec 2005 16:51:20 -0800
committer Linus Torvalds <torvalds <at> g5.osdl.org> Fri, 02 Dec 2005 07:48:56 -0800

[PATCH] V4L: Fix hotplugging issues with saa7134

- Fixed issue with hotplugging and DMA sound (sound was lost when replugging
  a card)

- Added notifiers to main saa7134 module to let the sound sub-modules know
  when a card has been inserted or removed

Signed-off-by: Ricardo Cerqueira <v4l <at> cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab <at> brturbo.com.br>
Signed-off-by: Andrew Morton <akpm <at> osdl.org>
Signed-off-by: Linus Torvalds <torvalds <at> osdl.org>

 drivers/media/video/saa7134/saa7134-alsa.c |   29 ++++++++--
 drivers/media/video/saa7134/saa7134-core.c |   16 ++++++
 drivers/media/video/saa7134/saa7134-oss.c  |   77 +++++++++++++++++------------
 drivers/media/video/saa7134/saa7134.h      |    4 +
 4 files changed, 88 insertions(+), 38 deletions(-)

diff --git a/drivers/media/video/saa7134/saa7134-alsa.c b/drivers/media/video/saa7134/saa7134-alsa.c
index 5707c66..32a1f3e 100644
--- a/drivers/media/video/saa7134/saa7134-alsa.c
+++ b/drivers/media/video/saa7134/saa7134-alsa.c
 <at>  <at>  -58,8 +58,6  <at>  <at>  static int enable[SNDRV_CARDS] = {1, [1 
 module_param_array(index, int, NULL, 0444);
(Continue reading)

Linux Kernel Mailing List | 2 Dec 2005 02:02

[ACPI] Add support for FADT P_LVL2_UP flag

tree 9a4f6f84f9ba1b1a838e71799470b2acab9e2ba7
parent 6d93c64803a5fea84839789aae13290419c62d92
author Venkatesh Pallipadi <venkatesh.pallipadi <at> intel.com> Thu, 15 Sep 2005 20:20:00 -0400
committer Len Brown <len.brown <at> intel.com> Wed, 30 Nov 2005 13:23:52 -0500

[ACPI] Add support for FADT P_LVL2_UP flag
which tells us if C2 is valid for UP-only, or SMP.

As there is no separate bit for C3,  use P_LVL2_UP
bit to cover both C2 and C3.

http://bugzilla.kernel.org/show_bug.cgi?id=5165

Signed-off-by: Venkatesh Pallipadi<venkatesh.pallipadi <at> intel.com>
Signed-off-by: Len Brown <len.brown <at> intel.com>
(cherry picked from 28b86b368af3944eb383078fc5797caf2dc8ce44 commit)

 drivers/acpi/processor_idle.c |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+)

diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index 5b6a986..83fd1b6 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
 <at>  <at>  -280,6 +280,16  <at>  <at>  static void acpi_processor_idle(void)

 	cx->usage++;

+#ifdef CONFIG_HOTPLUG_CPU
+	/*
(Continue reading)

Linux Kernel Mailing List | 2 Dec 2005 02:02

[ACPI] fix HP nx8220 boot hang regression

tree 7aa081cec117678fd4175b02674fd2f7e3f114db
parent d2ef5ebb4c4fe141a82252d4db8d8521e6765c5a
author Thomas Renninger <trenn <at> suse.de> Tue, 04 Oct 2005 00:39:00 -0700
committer Len Brown <len.brown <at> intel.com> Wed, 30 Nov 2005 14:35:02 -0500

[ACPI] fix HP nx8220 boot hang regression

This patch reverts the acpi_bus_find_driver() return value check
that came in via the PCI tree via 3fb02738b0fd36f47710a2bf207129efd2f5daa2

        [PATCH] acpi bridge hotadd: Allow ACPI .add and .start
	operations to be done independently

This particular change broke booting of some HP/Compaq laptops unless
acpi=noirq is used.

http://bugzilla.kernel.org/show_bug.cgi?id=5221
https://bugzilla.novell.com/show_bug.cgi?id=116763

Signed-off-by: Thomas Renninger <trenn <at> suse.de>
Cc: Rajesh Shah <rajesh.shah <at> intel.com>
Signed-off-by: Len Brown <len.brown <at> intel.com>

 drivers/acpi/scan.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index 23e2c69..31218e1 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
(Continue reading)


Gmane