]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix printing of non NULL terminated string
authorFilipe David Borba Manana <fdmanana@gmail.com>
Tue, 20 Aug 2013 16:51:48 +0000 (17:51 +0100)
committerChris Mason <chris.mason@fusionio.com>
Sun, 1 Sep 2013 12:16:20 +0000 (08:16 -0400)
commitec9236abe397a5cc5a2e45433cba29a47f22e6ba
tree7003c5a7412078d07f7617a414986916b3c3a45c
parent4cfe880b3a087416c5d6c4501bdeeca11b43ba1c
Btrfs: fix printing of non NULL terminated string

The name buffer is not terminated by a '\0' character,
therefore it needs to be printed with %.*s and use the
length of the buffer.

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/delayed-inode.c