From: David Sterba Date: Mon, 3 Feb 2014 17:24:09 +0000 (+0100) Subject: btrfs: send: replace check with an assert in gen_unique_name X-Git-Tag: v3.15-rc1~96^2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64792f253508268eb390a86f42f128d877b40776;p=pandora-kernel.git btrfs: send: replace check with an assert in gen_unique_name The buffer passed to snprintf can hold the fully expanded format string, 64 = 3x largest ULL + 3x char + trailing null. I don't think that removing the check entirely is a good idea, hence the ASSERT. Signed-off-by: David Sterba Signed-off-by: Josef Bacik --- Reading git-diff-tree failed