mirror of
https://github.com/versity/scoutfs.git
synced 2026-02-07 19:20:44 +00:00
scoutfs: remove unused function, can_complete_shutdown
Signed-off-by: Mark Fasheh <mfasheh@versity.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user