summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-03-18 04:20:23 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-03-18 04:20:23 +0000
commite62014c38d171383c54eb1fee183f14f592521fc (patch)
tree4b7633718336d145b6173478d26a39cb9dcfe088 /fs
parentc66599c66b70d522363bceb2dec263e76470a3c8 (diff)
Lots of cleanup from Keith with additional tweaks by me. More to
come. Stay frightened :-)
Diffstat (limited to 'fs')
-rw-r--r--fs/isofs/inode.c4
-rw-r--r--fs/nfs/flushd.c1
-rw-r--r--fs/nfsd/nfssvc.c1
3 files changed, 4 insertions, 2 deletions
diff --git a/fs/isofs/inode.c b/fs/isofs/inode.c
index 90f511bda..91f55dfb7 100644
--- a/fs/isofs/inode.c
+++ b/fs/isofs/inode.c
@@ -616,7 +616,7 @@ root_found:
#ifndef IGNORE_WRONG_MULTI_VOLUME_SPECS
if (isonum_723 (h_pri->volume_set_size) != 1)
goto out_no_support;
-#endif IGNORE_WRONG_MULTI_VOLUME_SPECS
+#endif /* IGNORE_WRONG_MULTI_VOLUME_SPECS */
s->u.isofs_sb.s_nzones = isonum_733 (h_pri->volume_space_size);
s->u.isofs_sb.s_log_zone_size = isonum_723 (h_pri->logical_block_size);
s->u.isofs_sb.s_max_size = isonum_733(h_pri->volume_space_size);
@@ -625,7 +625,7 @@ root_found:
#ifndef IGNORE_WRONG_MULTI_VOLUME_SPECS
if (isonum_723 (pri->volume_set_size) != 1)
goto out_no_support;
-#endif IGNORE_WRONG_MULTI_VOLUME_SPECS
+#endif /* IGNORE_WRONG_MULTI_VOLUME_SPECS */
s->u.isofs_sb.s_nzones = isonum_733 (pri->volume_space_size);
s->u.isofs_sb.s_log_zone_size = isonum_723 (pri->logical_block_size);
s->u.isofs_sb.s_max_size = isonum_733(pri->volume_space_size);
diff --git a/fs/nfs/flushd.c b/fs/nfs/flushd.c
index 601425cff..8fe3eb8b6 100644
--- a/fs/nfs/flushd.c
+++ b/fs/nfs/flushd.c
@@ -175,6 +175,7 @@ static void inode_append_flushd(struct inode *inode)
NFS_FLAGS(inode) |= NFS_INO_FLUSH;
atomic_inc(&inode->i_count);
out:
+ return;
}
void inode_remove_flushd(struct inode *inode)
diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c
index 0537c06d7..ae3cb8a48 100644
--- a/fs/nfsd/nfssvc.c
+++ b/fs/nfsd/nfssvc.c
@@ -259,6 +259,7 @@ nfsd_dispatch(struct svc_rqst *rqstp, u32 *statp)
return 1;
case RC_DOIT:
/* do it */
+ break;
}
/* Decode arguments */