]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fs/ocfs2/super.c: use OCFS2_MAX_VOL_LABEL_LEN and strlcpy
authorFabian Frederick <fabf@skynet.be>
Thu, 22 May 2014 00:42:30 +0000 (10:42 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:42:30 +0000 (10:42 +1000)
commitb5423c6907793e8ce72c839b0f610b3ad107b1ba
treecb4202e0a2bc30ab6b6e7602ce91256acc92efcf
parent472789e71a781b2a871c4b3d3df67246b6385a93
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>
fs/ocfs2/super.c