diff options
Diffstat (limited to 'fs/nfs/pnfs.h')
-rw-r--r-- | fs/nfs/pnfs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h index 698380da24cc..8aaab56b794f 100644 --- a/fs/nfs/pnfs.h +++ b/fs/nfs/pnfs.h | |||
@@ -65,7 +65,7 @@ struct pnfs_layoutdriver_type { | |||
65 | }; | 65 | }; |
66 | 66 | ||
67 | struct pnfs_layout_hdr { | 67 | struct pnfs_layout_hdr { |
68 | unsigned long plh_refcount; | 68 | atomic_t plh_refcount; |
69 | struct list_head plh_layouts; /* other client layouts */ | 69 | struct list_head plh_layouts; /* other client layouts */ |
70 | struct list_head plh_segs; /* layout segments list */ | 70 | struct list_head plh_segs; /* layout segments list */ |
71 | nfs4_stateid plh_stateid; | 71 | nfs4_stateid plh_stateid; |
@@ -147,7 +147,7 @@ void unset_pnfs_layoutdriver(struct nfs_server *); | |||
147 | int pnfs_layout_process(struct nfs4_layoutget *lgp); | 147 | int pnfs_layout_process(struct nfs4_layoutget *lgp); |
148 | void pnfs_destroy_layout(struct nfs_inode *); | 148 | void pnfs_destroy_layout(struct nfs_inode *); |
149 | void pnfs_destroy_all_layouts(struct nfs_client *); | 149 | void pnfs_destroy_all_layouts(struct nfs_client *); |
150 | void put_layout_hdr(struct inode *inode); | 150 | void put_layout_hdr(struct pnfs_layout_hdr *lo); |
151 | int pnfs_choose_layoutget_stateid(nfs4_stateid *dst, | 151 | int pnfs_choose_layoutget_stateid(nfs4_stateid *dst, |
152 | struct pnfs_layout_hdr *lo, | 152 | struct pnfs_layout_hdr *lo, |
153 | struct nfs4_state *open_state); | 153 | struct nfs4_state *open_state); |