fs/ocfs2/super.c: use OCFS2_MAX_VOL_LABEL_LEN and strlcpy
authorFabian Frederick <fabf@skynet.be>
Wed, 4 Jun 2014 23:06:07 +0000 (16:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:53:54 +0000 (16:53 -0700)
commit69201bb1132718f45078ba6454093f5e220c0350
treec41771da7b52891a94e5a78c00ead0e9404b1554
parent1a5c4e2a0e339a01fdfbd519ba664d8efdc8d702
fs/ocfs2/super.c: use OCFS2_MAX_VOL_LABEL_LEN and strlcpy

Replace strncpy(size 63) by defined value.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/super.c