btrfs: use LIST_HEAD() to initialize the list_head
Use LIST_HEAD() to initialize the list_head instead of open-coding it. Signed-off-by:Ruan Jinjie <ruanjinjie@huawei.com> Reviewed-by:
David Sterba <dsterba@suse.com> Signed-off-by:
David Sterba <dsterba@suse.com>
Showing
- fs/btrfs/disk-io.c 3 additions, 9 deletionsfs/btrfs/disk-io.c
- fs/btrfs/file.c 1 addition, 2 deletionsfs/btrfs/file.c
- fs/btrfs/inode.c 5 additions, 12 deletionsfs/btrfs/inode.c
- fs/btrfs/ordered-data.c 1 addition, 3 deletionsfs/btrfs/ordered-data.c
- fs/btrfs/send.c 2 additions, 4 deletionsfs/btrfs/send.c
- fs/btrfs/tree-log.c 1 addition, 3 deletionsfs/btrfs/tree-log.c
Loading
Please register or sign in to comment