diff options
author | Brian Foster <bfoster@redhat.com> | 2013-03-18 10:51:44 -0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-03-22 16:05:00 -0500 |
commit | c9bdbdc0741d90908f492415c890b630f43f17f8 (patch) | |
tree | cf8bf3498ad3b724adcd3b609947e8d88cfed0f7 /fs/xfs/xfs_trans_dquot.c | |
parent | 3c58b5f809eda8ae8d891b7a87d0a235ab0f9bf5 (diff) | |
download | talos-op-linux-c9bdbdc0741d90908f492415c890b630f43f17f8.tar.gz talos-op-linux-c9bdbdc0741d90908f492415c890b630f43f17f8.zip |
xfs: push rounddown_pow_of_two() to after prealloc throttle
The round down occurs towards the beginning of the function. Push
it down after throttling has occurred. This is to support adding
further transformations to 'alloc_blocks' that might not preserve
power-of-two alignment (and thus could lead to rounding down
multiple times).
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_trans_dquot.c')
0 files changed, 0 insertions, 0 deletions