NFSv4: nfs_increment_open_seqid should not return a value
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 2 Jul 2007 18:03:03 +0000 (14:03 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Jul 2007 03:40:39 +0000 (23:40 -0400)
It is a void function...

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4state.c

index 2b00c45aebeaf0daa8c3ecef09b1a074f4e7f927..0f79d56e97f0507b377fa5b0a6edd4c8536921f1 100644 (file)
@@ -528,7 +528,7 @@ void nfs_free_seqid(struct nfs_seqid *seqid)
  * failed with a seqid incrementing 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) {
                case 0:
@@ -557,7 +557,7 @@ void nfs_increment_open_seqid(int status, struct nfs_seqid *seqid)
                                struct nfs4_state_owner, so_seqid);
                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)
  */
 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)
This page took 0.029117 seconds and 5 git commands to generate.