diff options
author | 2019-10-30 12:24:59 -0700 | |
---|---|---|
committer | 2019-11-03 10:22:30 -0800 | |
commit | be6cacbeea8c562a06e9a03c95e3fdee065d1b7b (patch) | |
tree | 2b393ec979e6f9c039ea0e17f1f600409f4b25af /fs/xfs/libxfs/xfs_inode_fork.c | |
parent | xfs: simplify the xfs_iomap_write_direct calling (diff) | |
download | wireguard-linux-be6cacbeea8c562a06e9a03c95e3fdee065d1b7b.tar.xz wireguard-linux-be6cacbeea8c562a06e9a03c95e3fdee065d1b7b.zip |
xfs: refactor xfs_bmapi_allocate
Avoid duplicate userdata and data fork checks by restructuring the code
so we only have a helper for userdata allocations that combines these
checks in a straight foward way. That also helps to obsoletes the
comments explaining what the code does as it is now clearly obvious.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_inode_fork.c')
0 files changed, 0 insertions, 0 deletions