aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index aa60cbe7066c..fc1f0abb8fe4 100644
--- a/fs/btrfs/send.c
+++ b/fs/btrfs/send.c
@@ -1336,7 +1336,7 @@ static int gen_unique_name(struct send_ctx *sctx,
1336 return -ENOMEM; 1336 return -ENOMEM;
1337 1337
1338 while (1) { 1338 while (1) {
1339 len = snprintf(tmp, sizeof(tmp) - 1, "o%llu-%llu-%llu", 1339 len = snprintf(tmp, sizeof(tmp), "o%llu-%llu-%llu",
1340 ino, gen, idx); 1340 ino, gen, idx);
1341 if (len >= sizeof(tmp)) { 1341 if (len >= sizeof(tmp)) {
1342 /* should really not happen */ 1342 /* should really not happen */