diff options
author | Byongho Lee <bhlee.kernel@gmail.com> | 2015-10-08 20:49:34 +0900 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2015-10-21 18:28:48 +0200 |
commit | 619ed39242d901339c09faa1b52dad47b0476f6f (patch) | |
tree | af5d5995c679a1d338f4e78867b9c848e98bc126 /fs/ufs | |
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>
Diffstat (limited to 'fs/ufs')
0 files changed, 0 insertions, 0 deletions