]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[CIFS] 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>
Mon, 29 Aug 2011 18:54:12 +0000 (18:54 +0000)
commitb3ff34b112c9783f1a55f8753989d5fb32685fd4
treec0c0c82493ba1eab1d7b69cb8fb463e6f21933c1
parentdb5e70a7ab36f26c624cf6686e9d70f9f68c3989
[CIFS] 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