Arnd Bergmann
9c6c723f48
btrfs: fix gcc-4.8 build warning for struct initializer
...
Some older compilers like gcc-4.8 warn about mismatched curly braces in
a initializer:
fs/btrfs/backref.c: In function 'is_shared_data_backref':
fs/btrfs/backref.c:394:9: error: missing braces around
initializer [-Werror=missing-braces]
struct prelim_ref target = {0};
^
fs/btrfs/backref.c:394:9: error: (near initialization for
'target.rbnode') [-Werror=missing-braces]
Use the GNU empty initializer extension to avoid this.
Fixes: ed58f2e66e84 ("btrfs: backref, don't add refs from shared block when resolving normal backref")
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2020-04-30 12:17:49 +02:00
..
2020-03-23 17:02:00 +01:00
2019-04-29 19:02:44 +02:00
2020-03-23 17:01:51 +01:00
2020-03-23 17:01:51 +01:00
2020-04-30 12:17:49 +02:00
2020-03-23 17:01:57 +01:00
2020-04-23 17:24:52 +02:00
2020-01-23 17:24:34 +01:00
2020-03-23 17:01:55 +01:00
2020-03-23 17:01:55 +01:00
2020-03-23 17:01:24 +01:00
2020-03-23 17:01:40 +01:00
2020-03-23 17:01:39 +01:00
2020-01-31 10:30:40 -08:00
2019-11-18 12:46:59 +01:00
2020-03-23 17:01:52 +01:00
2020-03-23 17:02:00 +01:00
2020-03-23 17:01:55 +01:00
2019-07-04 17:26:17 +02:00
2020-03-25 16:26:00 +01:00
2020-03-23 17:01:53 +01:00
2020-03-23 17:01:55 +01:00
2019-07-04 17:26:17 +02:00
2020-03-23 17:01:35 +01:00
2019-11-18 12:46:52 +01:00
2019-04-29 19:02:50 +02:00
2020-01-20 16:41:01 +01:00
2020-04-20 17:43:42 +02:00
2020-04-23 17:23:11 +02:00
2020-03-23 17:01:59 +01:00
2020-03-23 17:02:00 +01:00
2020-03-23 17:01:42 +01:00
2020-03-23 17:01:59 +01:00
2020-03-23 17:01:58 +01:00
2020-02-12 17:16:46 +01:00
2019-11-18 23:43:44 +01:00
2020-03-23 17:01:38 +01:00
2020-03-23 17:03:50 +01:00
2020-03-23 17:01:56 +01:00
2020-04-08 19:10:52 +02:00
2020-03-23 17:01:43 +01:00
2020-01-20 16:41:00 +01:00
2020-03-23 17:01:59 +01:00
2019-11-18 17:51:51 +01:00
2019-09-09 14:59:16 +02:00
2020-03-23 17:01:55 +01:00
2018-04-12 16:29:46 +02:00
2020-03-23 17:02:00 +01:00
2020-03-23 17:02:00 +01:00
2019-12-09 17:56:06 +01:00
2020-03-23 17:01:43 +01:00
2020-03-23 17:01:43 +01:00
2019-11-18 12:46:59 +01:00
2020-03-23 17:01:54 +01:00
2019-11-18 12:46:50 +01:00
2020-03-23 17:01:34 +01:00
2020-03-23 17:01:34 +01:00
2018-04-12 16:29:51 +02:00
2020-01-20 16:40:55 +01:00
2018-04-20 19:18:16 +02:00
2020-03-23 17:01:55 +01:00
2019-04-29 19:02:54 +02:00
2020-03-23 17:01:59 +01:00
2020-02-19 00:35:54 +01:00
2020-03-23 17:01:44 +01:00
2019-07-01 13:34:58 +02:00
2020-03-23 17:01:53 +01:00
2019-11-18 17:51:51 +01:00
2020-03-23 17:01:56 +01:00
2019-04-29 19:02:49 +02:00
2020-04-08 19:10:34 +02:00
2020-03-23 17:01:54 +01:00
2020-04-23 17:24:56 +02:00
2020-03-23 17:01:55 +01:00
2020-03-23 17:01:54 +01:00
2020-03-23 17:02:00 +01:00
2018-04-12 16:29:46 +02:00
2020-04-08 19:11:19 +02:00
2020-03-23 17:01:55 +01:00
2019-09-09 14:59:16 +02:00
2020-03-23 17:01:45 +01:00
2020-03-23 18:14:47 +01:00
2020-03-23 17:01:35 +01:00
2020-04-27 17:16:07 +02:00
2020-03-23 17:01:38 +01:00
2020-01-20 16:40:56 +01:00
2019-04-29 19:02:39 +02:00
2019-02-25 14:13:27 +01:00
2020-04-27 17:16:07 +02:00
2019-04-29 19:02:41 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2020-03-23 17:01:41 +01:00
2020-03-23 17:01:54 +01:00
2020-03-23 17:01:48 +01:00
2019-06-17 16:37:17 +02:00
2019-04-29 19:02:44 +02:00
2020-01-31 10:30:40 -08:00
2019-11-18 12:46:59 +01:00