Re: [PATCH v4 05/10] nfsd: ensure that clp->cl_revoked list is protected by clp->cl_lock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>  static void destroy_revoked_delegation(struct nfs4_delegation *dp)
>  {
> -	list_del_init(&dp->dl_recall_lru);
> +	WARN_ON(!list_empty(&dp->dl_recall_lru));
>  	nfs4_put_delegation(dp);
>  }

Is there any point in keeping destroy_revoked_delegation and not just
calling nfs4_put_delegation directly?
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux