affs: kstrdup() memory handling
affs: kstrdup() memory handling

There is a possibility of kstrdup() failure upon memory pressure.
Therefore, returning ENOMEM even for new_opts.

[5c1e68b099950c134891f0b6e179498a8ebe9cf9@linux-foundation.org: cleanup]
Signed-off-by: Sanidhya Kashyap <1129a7bb22ab524858df56c5de32e1bb522c656e@gmail.com>
Cc: Taesoo kim <54b54847bb35c2c9f13b68407d5231711b716381@gatech.edu>
Cc: Fabian Frederick <3efd2a027b14fd890cd23a9ef6d1134b4e5ad850@skynet.be>
Signed-off-by: Andrew Morton <5c1e68b099950c134891f0b6e179498a8ebe9cf9@linux-foundation.org>
Signed-off-by: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs