]> 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)
commit61ab152c6b16b8b68ba47ca05822de1e333fb932
tree7003c5a7412078d07f7617a414986916b3c3a45c
parent19cf98a55de83124a1a0f29261164b8303fa86f5
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