summaryrefslogtreecommitdiff
path: root/Documentation/filesystems/gfs2-glocks.txt
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2015-10-01 19:47:31 +0300
committerBob Peterson <rpeterso@redhat.com>2015-10-01 20:00:59 +0300
commit491e94f790982bec5a1334dd3db2708de3724bdf (patch)
tree710667725821e752d23d6bb1b829bbe6cee0b958 /Documentation/filesystems/gfs2-glocks.txt
parent6de20eb0dee4c802d9d228d6c08d00386e172e52 (diff)
downloadlinux-491e94f790982bec5a1334dd3db2708de3724bdf.tar.xz
gfs2: Add missing else in trans_add_meta/data
This patch fixes a timing window that causes a segfault. The problem is that bd can remain NULL throughout the function and then reference that NULL pointer if the bh->b_private starts out NULL, then someone sets it to non-NULL inside the locking. In that case, bd still needs to be set. Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'Documentation/filesystems/gfs2-glocks.txt')
0 files changed, 0 insertions, 0 deletions