Hi Alexander,
Thank you very much for the very nice
FS_SINGLE/FS_NOMOUNT/kern_mount() VFS interface - it was exactly what I
needed for my nullfs.
Here is a small patch, I think you forgot to set sb->s_magic in pipefs.
Regards,
Tigran
--- linux/fs/pipe.c Tue May 9 08:40:26 2000
+++ work/fs/pipe.c Tue May 9 10:33:28 2000
@@ -609,6 +609,7 @@
root->i_atime = root->i_mtime = root->i_ctime = CURRENT_TIME;
sb->s_blocksize = 1024;
sb->s_blocksize_bits = 10;
+ sb->s_magic = PIPEFS_MAGIC;
sb->s_op = &pipefs_ops;
sb->s_root = d_alloc(NULL, &(const struct qstr) { "pipe:", 5, 0 });
if (!sb->s_root) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:13 EST