]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
xfs: reorganize xfs_iomap_prealloc_size to remove indentation
authorBrian Foster <bfoster@redhat.com>
Mon, 18 Mar 2013 14:51:43 +0000 (10:51 -0400)
committerBen Myers <bpm@sgi.com>
Fri, 22 Mar 2013 21:04:23 +0000 (16:04 -0500)
commit3c58b5f809eda8ae8d891b7a87d0a235ab0f9bf5
tree6bbaed0aafdbf44fb3fab25d51c0440d3c49fe9a
parent56cea2d088811b8cf7d2893e29bcf369a912de69
xfs: reorganize xfs_iomap_prealloc_size to remove indentation

The majority of xfs_iomap_prealloc_size() executes within the
check for lack of default I/O size. Reverse the logic to remove the
extra indentation.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_iomap.c