[PATCH][TRIVIAL] silence warning in reiserfs_ioctl

From: Rik van Riel
Date: Mon Oct 13 2003 - 11:36:38 EST


Gcc is afraid we might fall off the end of the function without returning.

diff -urNp linux-5110/fs/reiserfs/ioctl.c linux-10010/fs/reiserfs/ioctl.c
--- linux-5110/fs/reiserfs/ioctl.c
+++ linux-10010/fs/reiserfs/ioctl.c
@@ -84,6 +84,7 @@ int reiserfs_ioctl (struct inode * inode
default:
return -ENOTTY;
}
+ return 0;
}

/*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/