diff options
author | Jeff Mahoney <jeffm@suse.com> | 2007-10-19 08:39:25 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 20:53:35 +0200 |
commit | 6c57c2c8d3862c8d5b908669654f6565da74ec19 (patch) | |
tree | d2c157ad57296e27f0d5bcc89fdb33f209b8b6c9 /fs/reiserfs/stree.c | |
parent | reiserfs: use is_reusable to catch corruption (diff) | |
download | linux-6c57c2c8d3862c8d5b908669654f6565da74ec19.tar.xz linux-6c57c2c8d3862c8d5b908669654f6565da74ec19.zip |
reiserfs: fix memset byte count during resize
Correct the memset in reiserfs_resize to clear the memory allocated for the
new bitmap info structs. Previously, it would clear the memory used by the
old size. Depending on the contents of memory, this could cause incorrect
caching behavior for bitmap blocks in the newly allocated area.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/reiserfs/stree.c')
0 files changed, 0 insertions, 0 deletions