b3ba9dc0aa
- adjust fs size to correct size (bnc#744593) - man page documentation updates - do not package obsolete utilities - mkfs: store correct size of device in superblock (bnc#730103) - updated restriper/balance commands to match kernel version - device scanning fixes for dm and multipath (bnc#749540) OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=121
32 lines
834 B
Diff
32 lines
834 B
Diff
From 04ed6645aa91d023c06c1db361a2a22f4615eea0 Mon Sep 17 00:00:00 2001
|
|
From: Ilya Dryomov <idryomov@gmail.com>
|
|
Date: Mon, 12 Mar 2012 19:17:39 +0200
|
|
Subject: [PATCH 2/8] Btrfs-progs: nuke redundant zeroing in
|
|
__list_subvol_search()
|
|
|
|
There's no need to zero out things twice.
|
|
|
|
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
|
|
---
|
|
btrfs-list.c | 4 ----
|
|
1 files changed, 0 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/btrfs-list.c b/btrfs-list.c
|
|
index 5f4a9be..44a73de 100644
|
|
--- a/btrfs-list.c
|
|
+++ b/btrfs-list.c
|
|
@@ -569,10 +569,6 @@ static int __list_subvol_search(int fd, struct root_lookup *root_lookup)
|
|
root_lookup_init(root_lookup);
|
|
memset(&args, 0, sizeof(args));
|
|
|
|
- root_lookup_init(root_lookup);
|
|
-
|
|
- memset(&args, 0, sizeof(args));
|
|
-
|
|
/* search in the tree of tree roots */
|
|
sk->tree_id = 1;
|
|
|
|
--
|
|
1.7.6.233.gd79bc
|
|
|