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>
This commit is contained in:
parent
9369a431bc
commit
78e4e05c64
4 changed files with 4 additions and 4 deletions
|
@ -608,7 +608,7 @@ filelayout_check_layout(struct pnfs_layout_hdr *lo,
|
|||
d = nfs4_find_get_deviceid(NFS_SERVER(lo->plh_inode)->pnfs_curr_ld,
|
||||
NFS_SERVER(lo->plh_inode)->nfs_client, id);
|
||||
if (d == NULL) {
|
||||
dsaddr = get_device_info(lo->plh_inode, id, gfp_flags);
|
||||
dsaddr = filelayout_get_device_info(lo->plh_inode, id, gfp_flags);
|
||||
if (dsaddr == NULL)
|
||||
goto out;
|
||||
} else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue