diff options
author | Abhijith Das <adas@redhat.com> | 2010-07-04 07:33:24 +0200 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2010-07-15 10:07:16 +0200 |
commit | 8b4216018bdbfbb1b76150d202b15ee68c38e991 (patch) | |
tree | c13bd1db68ca135b6362ee8e67e558fe87bfb93c /fs/gfs2/dir.c | |
parent | GFS2: Fix kernel NULL pointer dereference by dlm_astd (diff) | |
download | linux-8b4216018bdbfbb1b76150d202b15ee68c38e991.tar.xz linux-8b4216018bdbfbb1b76150d202b15ee68c38e991.zip |
GFS2: BUG in gfs2_adjust_quota
HighMem pages on i686 do not get mapped to the buffer_heads and this was
causing a NULL pointer dereference when we were trying to memset page buffers
to zero.
We now use zero_user() that kmaps the page and directly manipulates page data.
This patch also fixes a boundary condition that was incorrect.
Signed-off-by: Abhi Das <adas@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions