]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:40:35 +0000 (11:40 -0700)
commit562960c731b9ffba8cd200be8d38f5f793b23d74
treee13a1777b8ba3edbc13032136cd7a0869ac18dff
parent862bee39ef540bd3a7772b899b4fa7f3036abf0d
Fix the conflict between rwpidforward and rw mount options

commit c9c7fa0064f4afe1d040e72f24c2256dd8ac402d upstream.

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.

Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/cifs/connect.c