Re: [PATCH 10/13] RFC: nfs: client needs to maintain list of inodes with active layouts

Trond Myklebust
2010-09-10T19:59:29Z

On Thu, 2010-09-02 at 14:00 -0400, Fred Isaman wrote:
> From: The pNFS Team <linux-nfs@vger.kernel.org>

> +static inline struct nfs_server *
> +PNFS_NFS_SERVER(struct pnfs_layout_hdr *lo)
> +{
> + return NFS_SERVER(lo->inode);
> +}
> +

Why do we need this?