diff options
author | Nikolay Borisov <nborisov@suse.com> | 2019-01-03 10:50:05 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-02-04 17:21:50 +0100 |
commit | 95aa1ad50409f5cb177c980062fbc0629460f57f (patch) | |
tree | 492a8df52aa920429389bcd46a065e7aa083065c /fs/btrfs/ioctl.c | |
parent | 007c574e2e03918e57485ded6ef4fc59a5a5961d (diff) | |
download | linux-next-95aa1ad50409f5cb177c980062fbc0629460f57f.tar.gz |
btrfs: Refactor shrink_delalloc
Add a couple of comments regarding the logic flow in shrink_delalloc.
Then, cease using max_reclaim as a temporary variable when calculating
nr_pages. Finally give max_reclaim a more becoming name, which
uneqivocally shows at what this variable really holds. No functional
changes.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ioctl.c')
0 files changed, 0 insertions, 0 deletions