From: Andy Adamson <andros@xxxxxxxxxx> Signed-off-by: Andy Adamson <andros@xxxxxxxxxx> --- fs/nfs/pnfs.c | 11 ----------- 1 files changed, 0 insertions(+), 11 deletions(-) diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c index 704288d..6832237 100644 --- a/fs/nfs/pnfs.c +++ b/fs/nfs/pnfs.c @@ -324,17 +324,6 @@ get_layout(struct pnfs_layout_type *lo) lo->refcount++; } -static inline struct pnfs_layout_type * -grab_current_layout(struct nfs_inode *nfsi) -{ - struct pnfs_layout_type *lo = nfsi->layout; - - if (!lo) - return NULL; - get_layout(lo); - return lo; -} - static inline void put_layout_locked(struct pnfs_layout_type *lo) { -- 1.6.6 -- 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