diff options
author | Abhijith Das <adas@redhat.com> | 2012-07-18 17:56:59 +0200 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2012-07-18 17:45:13 +0200 |
commit | 294f2ad5a545eb71d397623743ddd8201131bdad (patch) | |
tree | 7389ffbbef4562a2aa80b6e73a063229481fbc4c /fs/gfs2/file.c | |
parent | GFS2: Fixing double brelse'ing bh allocated in gfs2_meta_read when EIO occurs (diff) | |
download | linux-294f2ad5a545eb71d397623743ddd8201131bdad.tar.xz linux-294f2ad5a545eb71d397623743ddd8201131bdad.zip |
GFS2: kernel panic with small gfs2 filesystems - 1 RG
In the unlikely setup where there's only one resource group in the gfs2
filesystem, gfs2_rgrpd_get_next() returns a NULL rgd that is not dealt with
properly, causing a kernel NULL ptr dereference. This patch fixes this issue.
Signed-off-by: Abhi Das <adas@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/file.c')
0 files changed, 0 insertions, 0 deletions