Skip to content
Commit c2177057 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: Define a new set of flags for ext4_get_blocks()



The functions ext4_get_blocks(), ext4_ext_get_blocks(), and
ext4_ind_get_blocks() used an ad-hoc set of integer variables used as
boolean flags passed in as arguments.  Use a single flags parameter
and a setandard set of bitfield flags instead.  This saves space on
the call stack, and it also makes the code a bit more understandable.

Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 12b7ac17
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment