Commit 85e05633 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Anna Schumaker
Browse files

NFS: reformat nfs_mark_delegation_revoked



Remove a level of indentation for the main code path.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarAnna Schumaker <anna.schumaker@oracle.com>
parent 33653224
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -52,13 +52,14 @@ static void __nfs_free_delegation(struct nfs_delegation *delegation)
static void nfs_mark_delegation_revoked(struct nfs_server *server,
		struct nfs_delegation *delegation)
{
	if (!test_and_set_bit(NFS_DELEGATION_REVOKED, &delegation->flags)) {
	if (test_and_set_bit(NFS_DELEGATION_REVOKED, &delegation->flags))
		return;

	delegation->stateid.type = NFS4_INVALID_STATEID_TYPE;
	atomic_long_dec(&server->nr_active_delegations);
	if (!test_bit(NFS_DELEGATION_RETURNING, &delegation->flags))
		nfs_clear_verifier_delegated(delegation->inode);
}
}

void nfs_put_delegation(struct nfs_delegation *delegation)
{