aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4filelayoutdev.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-09-18 21:02:29 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-09-28 16:03:08 -0400
commit78e4e05c643768af170e5a4b21712d9a7a26cce5 (patch)
tree877b3f47c16a9e027fe5453418c9d54f339a3aa5 /fs/nfs/nfs4filelayoutdev.c
parentNFSv4.1: Cleanup; add "pnfs_" prefix to put_lseg() and get_lseg() (diff)
downloadlinux-dev-78e4e05c643768af170e5a4b21712d9a7a26cce5.tar.xz
linux-dev-78e4e05c643768af170e5a4b21712d9a7a26cce5.zip
NFSv4.1: Replace get_device_info() with filelayout_get_device_info()
Fix the namespace pollution issue. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4filelayoutdev.c')
-rw-r--r--fs/nfs/nfs4filelayoutdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4filelayoutdev.c b/fs/nfs/nfs4filelayoutdev.c
index f81231f30d94..b85a29df20ae 100644
--- a/fs/nfs/nfs4filelayoutdev.c
+++ b/fs/nfs/nfs4filelayoutdev.c
@@ -690,7 +690,7 @@ decode_and_add_device(struct inode *inode, struct pnfs_device *dev, gfp_t gfp_fl
* of available devices, and return it.
*/
struct nfs4_file_layout_dsaddr *
-get_device_info(struct inode *inode, struct nfs4_deviceid *dev_id, gfp_t gfp_flags)
+filelayout_get_device_info(struct inode *inode, struct nfs4_deviceid *dev_id, gfp_t gfp_flags)
{
struct pnfs_device *pdev = NULL;
u32 max_resp_sz;