summaryrefslogtreecommitdiffstats
path: root/fs/nfs/pnfs.h
diff options
context:
space:
mode:
authorFred Isaman2011-01-06 12:36:20 +0100
committerTrond Myklebust2011-01-06 20:46:31 +0100
commit566052c53b5146e23a99ab95fb5c11f8a295a084 (patch)
tree36c013aa52adf29bd57c2a04c9c51e24eeeb44b3 /fs/nfs/pnfs.h
parentpnfs: remove unnecessary field lgp->status (diff)
downloadkernel-qcow2-linux-566052c53b5146e23a99ab95fb5c11f8a295a084.tar.gz
kernel-qcow2-linux-566052c53b5146e23a99ab95fb5c11f8a295a084.tar.xz
kernel-qcow2-linux-566052c53b5146e23a99ab95fb5c11f8a295a084.zip
pnfs: add prefix to struct pnfs_layout_segment fields
While we are renaming all the fields, change lo->state to lo->plh_flags. Signed-off-by: Fred Isaman <iisaman@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/pnfs.h')
-rw-r--r--fs/nfs/pnfs.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h
index e12367d50489..6fcc07353004 100644
--- a/fs/nfs/pnfs.h
+++ b/fs/nfs/pnfs.h
@@ -31,10 +31,10 @@
#define FS_NFS_PNFS_H
struct pnfs_layout_segment {
- struct list_head fi_list;
- struct pnfs_layout_range range;
- struct kref kref;
- struct pnfs_layout_hdr *layout;
+ struct list_head pls_list;
+ struct pnfs_layout_range pls_range;
+ struct kref pls_refcount;
+ struct pnfs_layout_hdr *pls_layout;
};
#ifdef CONFIG_NFS_V4_1
@@ -65,7 +65,7 @@ struct pnfs_layout_hdr {
struct list_head segs; /* layout segments list */
seqlock_t seqlock; /* Protects the stateid */
nfs4_stateid stateid;
- unsigned long state;
+ unsigned long plh_flags;
struct inode *inode;
};