diff options
author | Andy Adamson <andros@netapp.com> | 2017-03-20 18:07:01 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-03-28 11:21:52 -0400 |
commit | 629dc8704b922f0c46f3025bd3486c2bc51eb7a6 (patch) | |
tree | fb4035c8f763edc8ee9d2ffa7607ceec50b3c71b /fs/nfs/filelayout/filelayout.h | |
parent | 551afbb85b3898e78068405d78708245999c19c0 (diff) | |
download | linux-stable-629dc8704b922f0c46f3025bd3486c2bc51eb7a6.tar.gz linux-stable-629dc8704b922f0c46f3025bd3486c2bc51eb7a6.tar.bz2 linux-stable-629dc8704b922f0c46f3025bd3486c2bc51eb7a6.zip |
NFS store nfs4_deviceid in struct nfs4_filelayout_segment
In preparation for moving the filelayout getdeviceinfo call from
filelayout_alloc_lseg called by pnfs_process_layout
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/filelayout/filelayout.h')
-rw-r--r-- | fs/nfs/filelayout/filelayout.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/filelayout/filelayout.h b/fs/nfs/filelayout/filelayout.h index 4c4d436a6796..79323b5dab0c 100644 --- a/fs/nfs/filelayout/filelayout.h +++ b/fs/nfs/filelayout/filelayout.h @@ -61,6 +61,7 @@ struct nfs4_filelayout_segment { u32 stripe_unit; u32 first_stripe_index; u64 pattern_offset; + struct nfs4_deviceid deviceid; struct nfs4_file_layout_dsaddr *dsaddr; /* Point to GETDEVINFO data */ unsigned int num_fh; struct nfs_fh **fh_array; |