Files
android_kernel_xiaomi_sm8450/fs/btrfs
Daniel Dressler b7a0365ec7 Btrfs: ctree: reduce args where only fs_info used
This patch is part of a larger project to cleanup btrfs's internal usage
of struct btrfs_root. Many functions take btrfs_root only to grab a
pointer to fs_info.

This causes programmers to ponder which root can be passed. Since only
the fs_info is read affected functions can accept any root, except this
is only obvious upon inspection.

This patch reduces the specificty of such functions to accept the
fs_info directly.

This patch does not address the two functions in ctree.c (insert_ptr,
and split_item) which only use root for BUG_ONs in ctree.c

This patch affects the following functions:
  1) fixup_low_keys
  2) btrfs_set_item_key_safe

Signed-off-by: Daniel Dressler <danieru.dressler@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
2015-02-16 18:48:43 +01:00
..
2014-06-09 17:20:42 -07:00
2014-06-09 17:20:48 -07:00
2014-06-09 17:20:48 -07:00
2008-09-25 11:04:06 -04:00
2014-10-14 10:51:22 +02:00
2015-01-21 18:06:49 -08:00
2015-02-02 18:39:07 -08:00
2015-02-14 08:19:14 -08:00
2015-02-14 08:19:14 -08:00
2014-01-29 07:06:27 -08:00
2015-02-14 08:19:14 -08:00
2015-01-21 18:06:49 -08:00