scoutfs: remove unused function, can_complete_shutdown

Signed-off-by: Mark Fasheh <mfasheh@versity.com>
This commit is contained in:
Mark Fasheh
2017-06-27 16:29:31 -05:00
parent e6f3b3ca8f
commit 250e9d2701

View File

@@ -564,16 +564,6 @@ static int init_lock_info(struct super_block *sb)
return 0;
}
static int can_complete_shutdown(struct held_locks *held)
{
int ret;
spin_lock(&held->lock);
ret = !!RB_EMPTY_ROOT(&held->lock_tree);
spin_unlock(&held->lock);
return ret;
}
/*
* Cause all lock attempts from our super to fail, waking anyone who is
* currently blocked attempting to lock. Now that locks can't block we