GFS2: Don't try and dealloc own inode
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 10 Jul 2009 20:13:38 +0000 (21:13 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 30 Jul 2009 09:59:50 +0000 (10:59 +0100)
When searching for unlinked, but still allocated inodes during block
allocation, avoid the block relating to the inode that is doing the
allocation. This fixes a hang caused when an unlinked, but still
open, inode tries to allocate some more blocks and lands up
finding itself during the search for deallocatable inodes.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>

No differences found