diff options
author | Christoph Hellwig <[email protected]> | 2020-03-18 08:15:10 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2020-03-19 08:48:47 -0700 |
commit | b3d1d37544d8c98be610df0ed66c884ff18748d5 (patch) | |
tree | da3f3441e0382bdb3321726790134ba1d13e225f /scripts/bpf_helpers_doc.py | |
parent | e9e2eae89ddb658ea332295153fdca78c12c1e0d (diff) |
xfs: simplify di_flags2 inheritance in xfs_ialloc
di_flags2 is initialized to zero for v4 and earlier file systems. This
means di_flags2 can only be non-zero for a v5 file systems, in which
case both the parent and child inodes can store the field. Remove the
extra di_version check, and also remove the rather pointless local
di_flags2 variable while at it.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Reviewed-by: Chandan Rajendra <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions