diff options
author | Jan Kara <jack@suse.cz> | 2011-01-10 12:30:39 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-17 15:14:20 -0800 |
commit | 3d597eb5d470de0073e9e7feaa7413918699579b (patch) | |
tree | 9082270c8b782441b25285ae70ee77b587a7a3cc /security/selinux/hooks.c | |
parent | 3d8874cb3422508a5cfa2658ef9f3d8ecd923a40 (diff) |
ext4: fix trimming of a single group
commit ca6e909f9bebe709bc65a3ee605ce32969db0452 upstream.
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>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions