diff options
author | Jan Kara <jack@suse.cz> | 2017-01-27 14:34:30 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2017-01-27 14:34:30 -0500 |
commit | cd648b8a8fd5071d232242d5ee7ee3c0815776af (patch) | |
tree | eff784d1c9b958a05db5f6cccf5938a157a6c175 /fs/ceph/acl.c | |
parent | 43c73221b3b1cdc9156c78287c5f4b29dc085d22 (diff) | |
download | blackbird-op-linux-cd648b8a8fd5071d232242d5ee7ee3c0815776af.tar.gz blackbird-op-linux-cd648b8a8fd5071d232242d5ee7ee3c0815776af.zip |
ext4: trim allocation requests to group size
If filesystem groups are artifically small (using parameter -g to
mkfs.ext4), ext4_mb_normalize_request() can result in a request that is
larger than a block group. Trim the request size to not confuse
allocation code.
Reported-by: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/ceph/acl.c')
0 files changed, 0 insertions, 0 deletions