diff options
author | Jan Kara <jack@suse.cz> | 2011-01-10 12:30:39 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-01-10 12:30:39 -0500 |
commit | ca6e909f9bebe709bc65a3ee605ce32969db0452 (patch) | |
tree | db7d324b995ff5fe74dcce00c9bf8c4da3adc5e3 /fs/udf/osta_udf.h | |
parent | 6c5a6cb998854f3c579ecb2bc1423d302bcb1b76 (diff) | |
download | blackbird-op-linux-ca6e909f9bebe709bc65a3ee605ce32969db0452.tar.gz blackbird-op-linux-ca6e909f9bebe709bc65a3ee605ce32969db0452.zip |
ext4: fix trimming of a single group
When ext4_trim_fs() is called to trim a part of a single group, the
logic will wrongly set last block of the interval to 'len' instead
of 'first_block + len'. Thus a shorter interval is possibly trimmed.
Fix it.
CC: Lukas Czerner <lczerner@redhat.com>
Cc: stable@kernel.org
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/udf/osta_udf.h')
0 files changed, 0 insertions, 0 deletions