]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/gfs2/file.c
GFS2: smbd proccess hangs with flock() call.
authorAbhijith Das <adas@redhat.com>
Mon, 1 Jun 2009 17:30:03 +0000 (12:30 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 2 Jun 2009 07:01:12 +0000 (08:01 +0100)
commita12af1ebe675e85831fde3c4d0908fc3b0908b7a
treeae03ea46bfa57031ee561f21d6e387fcdd7c46c7
parentf6eb53498ee8f725832f3a0fffca90566bb118a6
GFS2: smbd proccess hangs with flock() call.

GFS2 currently does not support mandatory flocks. An flock() call with
LOCK_MAND triggers unexpected behavior because gfs2 is not checking for
this lock type. This patch corrects that.

Signed-off-by: Abhi Das <adas@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/file.c