]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Fix the conflict between rwpidforward and rw mount options
authorSteve French <sfrench@us.ibm.com>
Mon, 29 Aug 2011 18:54:12 +0000 (18:54 +0000)
committerSteve French <sfrench@us.ibm.com>
Tue, 20 Sep 2011 02:16:20 +0000 (21:16 -0500)
commitc9c7fa0064f4afe1d040e72f24c2256dd8ac402d
tree213d8f0d198e878e224fba1d8380100e5699f4c5
parent5b980b01212199833ee8023770fa4cbf1b85e9f4
Fix the conflict between rwpidforward and rw mount options

Both these options are started with "rw" - that's why the first one
isn't switched on even if it is specified. Fix this by adding a length
check for "rw" option check.

Cc: <stable@kernel.org>
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c