summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_log.c
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2013-01-17 18:11:29 (GMT)
committerBen Myers <bpm@sgi.com>2013-01-17 23:53:37 (GMT)
commit9e96fe6df44425b69ed89f6ac20352cec1f127d7 (patch)
tree875ad09d40b65530fe61c6dbf7b97c3c8b70f995 /fs/xfs/xfs_log.c
parent667a9291c5b38318a47a2df730bc064e5d37d2a8 (diff)
downloadlinux-9e96fe6df44425b69ed89f6ac20352cec1f127d7.tar.xz
xfs: pull up stack_switch check into xfs_bmapi_write
The stack_switch check currently occurs in __xfs_bmapi_allocate, which means the stack switch only occurs when xfs_bmapi_allocate() is called in a loop. Pull the check up before the loop in xfs_bmapi_write() such that the first iteration of the loop has consistent behavior. Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_log.c')
0 files changed, 0 insertions, 0 deletions