ecryptfs: string copy cleanup
commit8f2368095e25018838e1bf145041f58270ccd32e
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 24 Jul 2008 04:30:05 +0000 (23 21:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:31 +0000 (24 10:47 -0700)
treec8ac94c024d0874f1955c1aa8880d3649dc7d4fc
parent982363c97f8cad7aea4c3d2cfebffc1cc2d2f166
ecryptfs: string copy cleanup

Clean up overcomplicated string copy, which also gets rid of this
bogus warning:

fs/ecryptfs/main.c: In function 'ecryptfs_parse_options':
include/asm/arch/string_32.h:75: warning: array subscript is above array bounds

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: Michael Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ecryptfs/main.c