diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2007-01-29 11:51:45 +0000 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-02-05 13:38:14 -0500 |
commit | 61be084efcc4451934257350281962595418a33c (patch) | |
tree | 3f7b3e0d93f52803f27aa3268a4bd7098e48ae4d /fs/gfs2/inode.c | |
parent | bbb28ab7599789740b2233a0805d22aefb97f533 (diff) |
[GFS2] Put back semaphore to avoid umount problem
Dave Teigland fixed this bug a while back, but I managed to mistakenly
remove the semaphore during later development. It is required to avoid
the list of inodes changing during an invalidate_inodes call. I have
made it an rwsem since the read side will be taken frequently during
normal filesystem operation. The write site will only happen during
umount of the file system.
Also the bug only triggers when using the DLM lock manager and only then
under certain conditions as its timing related.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Cc: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/gfs2/inode.c')
0 files changed, 0 insertions, 0 deletions