summaryrefslogtreecommitdiff
path: root/Documentation/security
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2018-05-02 12:54:53 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-05-09 10:04:01 -0700
commitd0641780940a9842cbf62114bc8422012c7d88c4 (patch)
treede05be7b9370bcad5269ec9265275a34b20144e4 /Documentation/security
parent3460cac1ca76215a60acb086ebe97b3e50731628 (diff)
xfs: simplify xfs_file_iomap_begin() logic
The current logic that determines whether allocation should be done has grown somewhat spaghetti like with the addition of IOMAP_NOWAIT functionality. Separate out each of the different cases into single, obvious checks to get rid most of the nested IOMAP_NOWAIT checks in the allocation logic. Signed-Off-By: Dave Chinner <dchinner@redhat.com> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Reviewed-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 'Documentation/security')
0 files changed, 0 insertions, 0 deletions