Re: [PATCH 1/5] NFS: combine nfs_kill_super() and nfs4_kill_super()

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

 



On Sun, Aug 30, 2009 at 12:34:33PM -0400, Chuck Lever wrote:
> +static void nfs_kill_super(struct super_block *sb)
>  {
> +	struct nfs_server *server = NFS_SB(sb);
> +
> +	dprintk("--> %s\n", __func__);
> +
> +#ifdef CONFIG_NFS_V4
> +	if (server->nfs_client->rpc_ops->version == 4) {
> +		nfs_super_return_all_delegations(sb);
> +		nfs4_renewd_prepare_shutdown(server);
> +	}
> +#endif	/* CONFIG_NFS_V4 */
>  
>  	bdi_unregister(&server->backing_dev_info);

This was previously not done for nfs4.  If it is a bug-fixed that
should be documented in the patch description, and if not it needs
to be changed.

--
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