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)
commitbdab49d760c14dd7d5a8f64dbfedd7a3f1121e9b
tree7003c5a7412078d07f7617a414986916b3c3a45c
parent8d78eb16638b4e9e57225fa32b0f6595ecbf4424
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