gfs2: Get rid of gfs2_set_nlink
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 1 Aug 2017 16:33:17 +0000 (11:33 -0500)
committerBob Peterson <rpeterso@redhat.com>
Thu, 10 Aug 2017 15:42:11 +0000 (10:42 -0500)
commiteebd2e813f7ef688e22cd0b68aea78fb3d1ef19c
tree625cbf8bb6aa687e252d18f36b81ddcbd64d82dc
parent0515480ad424f2d6853ffe448f444ba3c756c057
gfs2: Get rid of gfs2_set_nlink

Remove gfs2_set_nlink which prevents the link count of an inode from
becoming non-zero once it has reached zero.  The next commit reduces the
amount of waiting on glocks when an inode is evicted from memory.  With
that, an inode can become reallocated before all the remote-unlink
callbacks from a previous delete are processed, which causes the link
count to change from zero to non-zero.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/glops.c