Searched hist:"310712 b2f73ac1da4c3a99fd9886e8b652727508" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | root-tree.c | diff 310712b2f73ac1da4c3a99fd9886e8b652727508 Wed Jan 18 01:24:37 CST 2017 Omar Sandoval <osandov@fb.com> Btrfs: constify struct btrfs_{,disk_}key wherever possible
In a lot of places, it's unclear when it's safe to reuse a struct btrfs_key after it has been passed to a helper function. Constify these arguments wherever possible to make it obvious.
Signed-off-by: Omar Sandoval <osandov@fb.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
|
H A D | ctree.c | diff 310712b2f73ac1da4c3a99fd9886e8b652727508 Wed Jan 18 01:24:37 CST 2017 Omar Sandoval <osandov@fb.com> Btrfs: constify struct btrfs_{,disk_}key wherever possible
In a lot of places, it's unclear when it's safe to reuse a struct btrfs_key after it has been passed to a helper function. Constify these arguments wherever possible to make it obvious.
Signed-off-by: Omar Sandoval <osandov@fb.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
|
H A D | ctree.h | diff 310712b2f73ac1da4c3a99fd9886e8b652727508 Wed Jan 18 01:24:37 CST 2017 Omar Sandoval <osandov@fb.com> Btrfs: constify struct btrfs_{,disk_}key wherever possible
In a lot of places, it's unclear when it's safe to reuse a struct btrfs_key after it has been passed to a helper function. Constify these arguments wherever possible to make it obvious.
Signed-off-by: Omar Sandoval <osandov@fb.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
|
H A D | extent-tree.c | diff 310712b2f73ac1da4c3a99fd9886e8b652727508 Wed Jan 18 01:24:37 CST 2017 Omar Sandoval <osandov@fb.com> Btrfs: constify struct btrfs_{,disk_}key wherever possible
In a lot of places, it's unclear when it's safe to reuse a struct btrfs_key after it has been passed to a helper function. Constify these arguments wherever possible to make it obvious.
Signed-off-by: Omar Sandoval <osandov@fb.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
|