diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-07-22 17:25:27 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-07-24 22:16:40 +0200 |
commit | 5f46be049b0dfdd36188058f044c165e1d4b8f56 (patch) | |
tree | 83504ccd78e42b24cae17b07f2b756378f70aad4 /fs/nfs/pnfs.c | |
parent | NFS: pnfs_mark_matching_lsegs_return() should match the layout sequence id (diff) | |
download | linux-5f46be049b0dfdd36188058f044c165e1d4b8f56.tar.xz linux-5f46be049b0dfdd36188058f044c165e1d4b8f56.zip |
pNFS: Cleanup - don't open code pnfs_mark_layout_stateid_invalid()
Ensure nfs42_layoutstat_done() layoutget don't open code layout stateid
invalidation.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/pnfs.c')
-rw-r--r-- | fs/nfs/pnfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c index 52b2a4dfdcb0..1374fcd40484 100644 --- a/fs/nfs/pnfs.c +++ b/fs/nfs/pnfs.c @@ -259,7 +259,7 @@ pnfs_put_layout_hdr(struct pnfs_layout_hdr *lo) * is required. * Note that caller must hold inode->i_lock. */ -static int +int pnfs_mark_layout_stateid_invalid(struct pnfs_layout_hdr *lo, struct list_head *lseg_list) { |