gfs2: Fix possible fs name overflows
authorBob Peterson <rpeterso@redhat.com>
Tue, 13 Aug 2019 13:25:15 +0000 (09:25 -0400)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 3 Sep 2019 07:42:41 +0000 (09:42 +0200)
commit98fb057487a806303f93db3e0f746525ea487c59
tree9d21f612318b21ab8fc40ec3c429a41c938a4333
parent8c5ca11710b67b5f76b08d4bb25a576e3513a678
gfs2: Fix possible fs name overflows

This patch fixes three places in which temporary character buffers
could overflow due to the addition of the file system id from patch
3792ce973f07. Thanks to Dan Carpenter for pointing it out.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/glock.c
fs/gfs2/rgrp.c
fs/gfs2/util.c