[GFS2] Prefer strlcpy() over snprintf()
authorJean Delvare <khali@linux-fr.org>
Fri, 9 May 2008 15:59:51 +0000 (17:59 +0200)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 12 May 2008 07:57:11 +0000 (08:57 +0100)
commit00377d8e3842776d1da633ad9c79a16ecb548b92
tree647be450fa7c93a5dc1ad7fa650cde9db812b833
parentad99f77778e83358c371dab7a50bde69270ed6b8
[GFS2] Prefer strlcpy() over snprintf()

strlcpy is faster than snprintf when you don't use the returned value.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_fstype.c