diff options
author | Sean Finney <seanius@seanius.net> | 2011-04-11 13:19:34 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-05-19 14:10:55 +0000 |
commit | 5167f11ec962690ecf926fab00f1d0524cd78664 (patch) | |
tree | 06797f7f000ad72df4127fa78c673772d93ddede /fs/cifs/connect.c | |
parent | 046462abca2576cc1c71f501c148798fac4ea314 (diff) | |
download | kernel_samsung_smdk4412-5167f11ec962690ecf926fab00f1d0524cd78664.zip kernel_samsung_smdk4412-5167f11ec962690ecf926fab00f1d0524cd78664.tar.gz kernel_samsung_smdk4412-5167f11ec962690ecf926fab00f1d0524cd78664.tar.bz2 |
cifs: Use kstrndup for cifs_sb->mountdata
A relatively minor nit, but also clarified the "consensus" from the
preceding comments that it is in fact better to try for the kstrdup
early and cleanup while cleaning up is still a simple thing to do.
Reviewed-By: Steve French <smfrench@gmail.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>
Diffstat (limited to 'fs/cifs/connect.c')
0 files changed, 0 insertions, 0 deletions