]> git.ipfire.org Git - thirdparty/linux.git/commit - fs/cifs/connect.c
cifs: Simplify handling of submount options in cifs_mount.
authorSean Finney <seanius@seanius.net>
Mon, 11 Apr 2011 13:19:33 +0000 (13:19 +0000)
committerSteve French <sfrench@us.ibm.com>
Thu, 19 May 2011 14:10:55 +0000 (14:10 +0000)
commit046462abca2576cc1c71f501c148798fac4ea314
tree1bd1148f9b6534b43767dd42a4b4ea27205c4cc9
parentb946845a9dc523c759cae2b6a0f6827486c3221a
cifs: Simplify handling of submount options in cifs_mount.

With CONFIG_DFS_UPCALL enabled, maintain the submount options in
cifs_sb->mountdata, simplifying the code just a bit as well as making
corner-case allocation problems less likely.

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Sean Finney <seanius@seanius.net>
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c