aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4state.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-07-02 14:03:03 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-07-10 23:40:39 -0400
commit88d9093997e1c73ca98db41b5605dbde7783845f (patch)
tree455f60d9aef7527844424fd98373e48a7530c4a9 /fs/nfs/nfs4state.c
parente6889620e89525ebf41f0eed937edb3dc065cf1d (diff)
NFSv4: nfs_increment_open_seqid should not return a value
It is a void function... Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4state.c')
-rw-r--r--fs/nfs/nfs4state.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c
index 2b00c45aebea..0f79d56e97f0 100644
--- a/fs/nfs/nfs4state.c
+++ b/fs/nfs/nfs4state.c
@@ -528,7 +528,7 @@ void nfs_free_seqid(struct nfs_seqid *seqid)
528 * failed with a seqid incrementing error - 528 * failed with a seqid incrementing error -
529 * see comments nfs_fs.h:seqid_mutating_error() 529 * see comments nfs_fs.h:seqid_mutating_error()
530 */ 530 */
531static inline void nfs_increment_seqid(int status, struct nfs_seqid *seqid) 531static void nfs_increment_seqid(int status, struct nfs_seqid *seqid)
532{ 532{
533 switch (status) { 533 switch (status) {
534 case 0: 534 case 0:
@@ -557,7 +557,7 @@ void nfs_increment_open_seqid(int status, struct nfs_seqid *seqid)
557 struct nfs4_state_owner, so_seqid); 557 struct nfs4_state_owner, so_seqid);
558 nfs4_drop_state_owner(sp); 558 nfs4_drop_state_owner(sp);
559 } 559 }
560 return nfs_increment_seqid(status, seqid); 560 nfs_increment_seqid(status, seqid);
561} 561}
562 562
563/* 563/*
@@ -567,7 +567,7 @@ void nfs_increment_open_seqid(int status, struct nfs_seqid *seqid)
567 */ 567 */
568void nfs_increment_lock_seqid(int status, struct nfs_seqid *seqid) 568void nfs_increment_lock_seqid(int status, struct nfs_seqid *seqid)
569{ 569{
570 return nfs_increment_seqid(status, seqid); 570 nfs_increment_seqid(status, seqid);
571} 571}
572 572
573int nfs_wait_on_sequence(struct nfs_seqid *seqid, struct rpc_task *task) 573int nfs_wait_on_sequence(struct nfs_seqid *seqid, struct rpc_task *task)