Commit 88d90939 authored by Trond Myklebust's avatar Trond Myklebust

NFSv4: nfs_increment_open_seqid should not return a value

It is a void function...
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent e6889620
...@@ -528,7 +528,7 @@ void nfs_free_seqid(struct nfs_seqid *seqid) ...@@ -528,7 +528,7 @@ void nfs_free_seqid(struct nfs_seqid *seqid)
* failed with a seqid incrementing error - * failed with a seqid incrementing error -
* see comments nfs_fs.h:seqid_mutating_error() * see comments nfs_fs.h:seqid_mutating_error()
*/ */
static inline void nfs_increment_seqid(int status, struct nfs_seqid *seqid) static void nfs_increment_seqid(int status, struct nfs_seqid *seqid)
{ {
switch (status) { switch (status) {
case 0: case 0:
...@@ -557,7 +557,7 @@ void nfs_increment_open_seqid(int status, struct nfs_seqid *seqid) ...@@ -557,7 +557,7 @@ void nfs_increment_open_seqid(int status, struct nfs_seqid *seqid)
struct nfs4_state_owner, so_seqid); struct nfs4_state_owner, so_seqid);
nfs4_drop_state_owner(sp); nfs4_drop_state_owner(sp);
} }
return nfs_increment_seqid(status, seqid); nfs_increment_seqid(status, seqid);
} }
/* /*
...@@ -567,7 +567,7 @@ void nfs_increment_open_seqid(int status, struct nfs_seqid *seqid) ...@@ -567,7 +567,7 @@ void nfs_increment_open_seqid(int status, struct nfs_seqid *seqid)
*/ */
void nfs_increment_lock_seqid(int status, struct nfs_seqid *seqid) void nfs_increment_lock_seqid(int status, struct nfs_seqid *seqid)
{ {
return nfs_increment_seqid(status, seqid); nfs_increment_seqid(status, seqid);
} }
int nfs_wait_on_sequence(struct nfs_seqid *seqid, struct rpc_task *task) int nfs_wait_on_sequence(struct nfs_seqid *seqid, struct rpc_task *task)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment