summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_file.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-11-08 16:26:54 +0100
committerSteven Whitehouse <swhiteho@redhat.com>2006-11-30 16:34:43 +0100
commit2ca99501fa5422e84f18333918a503433449e2b5 (patch)
tree46bdb25c3be5bdc4e4c80b30a99dd3811f2ee1c0 /fs/gfs2/ops_file.h
parent[GFS2] Remove unused GL_DUMP flag (diff)
downloadlinux-2ca99501fa5422e84f18333918a503433449e2b5.tar.xz
linux-2ca99501fa5422e84f18333918a503433449e2b5.zip
[GFS2] Fix page lock/glock deadlock
This fixes a race between the glock and the page lock encountered during truncate in gfs2_readpage and gfs2_prepare_write. The gfs2_readpages function doesn't need the same fix since it only uses a try lock anyway, so it will fail back to gfs2_readpage in the case of a potential deadlock. This bug was spotted by Russell Cattelan. Cc: Russell Cattelan <cattelan@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_file.h')
0 files changed, 0 insertions, 0 deletions