diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2019-10-16 18:28:21 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-11-18 10:36:45 +0100 |
commit | d49dd11753f4f5dde5d67c4e1d3edf65eb35c381 (patch) | |
tree | c8268a422ebe034830942fbeaf4a55c2c99a2a06 /fs/nfs/pnfs.c | |
parent | NFSv4.x: Drop the slot if nfs4_delegreturn_prepare waits for layoutreturn (diff) | |
download | linux-d49dd11753f4f5dde5d67c4e1d3edf65eb35c381.tar.xz linux-d49dd11753f4f5dde5d67c4e1d3edf65eb35c381.zip |
NFSv4: add declaration of current_stateid
The current_stateid is exported from nfs4state.c but not
declared in any of the headers. Add to nfs4_fs.h to
remove the following warning:
fs/nfs/nfs4state.c:80:20: warning: symbol 'current_stateid' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/pnfs.c')
-rw-r--r-- | fs/nfs/pnfs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c index bb80034a7661..cec3070ab577 100644 --- a/fs/nfs/pnfs.c +++ b/fs/nfs/pnfs.c @@ -2160,8 +2160,6 @@ out_unlock: return NULL; } -extern const nfs4_stateid current_stateid; - static void _lgopen_prepare_attached(struct nfs4_opendata *data, struct nfs_open_context *ctx) { |