diff options
author | 2011-11-17 00:46:16 -0500 | |
---|---|---|
committer | 2012-01-08 19:34:38 -0500 | |
commit | 6f07e42ee6fcc252a210781d7262f4051e9fd8f6 (patch) | |
tree | 70686d28678c69586570032c47ecdc4636c7a4f3 /drivers/i2c/algos/i2c-algo-bit.c | |
parent | btrfs: sanitizing ->fs_info, part 3 (diff) | |
download | wireguard-linux-6f07e42ee6fcc252a210781d7262f4051e9fd8f6.tar.xz wireguard-linux-6f07e42ee6fcc252a210781d7262f4051e9fd8f6.zip |
btrfs: sanitizing ->fs_info, part 4
A new helper: btrfs_alloc_root(fs_info); allocates btrfs_root
and sets ->fs_info. All places allocating the suckers converted
to it. At that point we *never* reassign ->fs_info of btrfs_root;
it's set before anyone sees the address of newly allocated
struct btrfs_root and never assigned anywhere else.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions