diff options
author | David Sterba <dsterba@suse.cz> | 2015-01-02 19:12:57 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-19 10:11:06 +0200 |
commit | 5ab0f4da798ac88c2f320806b872212cabbc7f5d (patch) | |
tree | a4e4369f8fc2f2e4a9c536733ab13a4d338e6061 /drivers | |
parent | 79ea2bfc7d9cac1949bec2cb09b622becb7d54b6 (diff) |
btrfs: simplify insert_orphan_item
commit 9c4f61f01d269815bb7c37be3ede59c5587747c6 upstream.
We can search and add the orphan item in one go,
btrfs_insert_orphan_item will find out if the item already exists.
Signed-off-by: David Sterba <dsterba@suse.cz>
Cc: Chris Mason <clm@fb.com>
Cc: Roman Mamedov <rm@romanrm.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions