commit | 619ed39242d901339c09faa1b52dad47b0476f6f | [log] [tgz] |
---|---|---|
author | Byongho Lee <bhlee.kernel@gmail.com> | Thu Oct 08 20:49:34 2015 +0900 |
committer | David Sterba <dsterba@suse.com> | Wed Oct 21 18:28:48 2015 +0200 |
tree | af5d5995c679a1d338f4e78867b9c848e98bc126 | |
parent | 8cd1e73111f95ca915f37ed534bbfbdf24fc1ca8 [diff] |
btrfs: cleanup iterating over prop_handlers array This patch eliminates the last item of prop_handlers array which is used to check end of array and instead uses ARRAY_SIZE macro. Though this is a very tiny optimization, using ARRAY_SIZE macro is a good practice to iterate array. Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: Byongho Lee <bhlee.kernel@gmail.com> Signed-off-by: David Sterba <dsterba@suse.com>