]> git.hungrycats.org Git - linux/commit
btrfs: use explicit initializer for seq_elem
authorDavid Sterba <dsterba@suse.cz>
Wed, 25 Feb 2015 14:47:32 +0000 (15:47 +0100)
committerZygo Blaxell <zblaxell@waya.furryterror.org>
Fri, 27 Mar 2015 03:33:18 +0000 (23:33 -0400)
commitc12f8f81328aa249565ff227cfa5e5532f64c824
tree553cd95618a3666069385f1e55f793600b288183
parenta80ae9b39e85457093e5ebcf6bc389e505e3d3e0
btrfs: use explicit initializer for seq_elem

Using {} as initializer for struct seq_elem does not properly initialize
the list_head member, but it currently works because it gets set through
btrfs_get_tree_mod_seq if 'seq' is 0.

Signed-off-by: David Sterba <dsterba@suse.cz>
(cherry picked from commit 3284da7b7b585e6e8e98f374a51d234d14c7a0a2)
fs/btrfs/backref.c
fs/btrfs/ctree.h
fs/btrfs/ioctl.c
fs/btrfs/qgroup.c