home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / kernel-s / ifs-5.1 / ifs-5.1-1 < prev    next >
Text File  |  1995-10-10  |  4KB  |  157 lines

  1. diff -r -c no-ifs-linux-118/config.in linux/config.in
  2. *** no-ifs-linux-118/config.in    Thu Apr 21 22:41:45 1994
  3. --- linux/config.in    Mon Apr 25 20:59:58 1994
  4. ***************
  5. *** 103,108 ****
  6. --- 103,109 ----
  7.   bool 'NFS filesystem support' CONFIG_NFS_FS y
  8.   bool 'ISO9660 cdrom filesystem support' CONFIG_ISO9660_FS n
  9.   bool 'OS/2 HPFS filesystem support (read only)' CONFIG_HPFS_FS n
  10. + bool 'Inheriting filesystem (IFS) support' CONFIG_IFS_FS y
  11.   bool 'System V and Coherent filesystem support' CONFIG_SYSV_FS n
  12.   
  13.   comment 'character devices'
  14. diff -r -c no-ifs-linux-118/fs/Makefile linux/fs/Makefile
  15. *** no-ifs-linux-118/fs/Makefile    Tue Dec 21 04:30:23 1993
  16. --- linux/fs/Makefile    Sat Apr 23 22:27:05 1994
  17. ***************
  18. *** 7,13 ****
  19.   #
  20.   # Note 2! The CFLAGS definitions are now in the main makefile...
  21.   
  22. ! SUBDIRS = minix ext ext2 msdos proc isofs nfs xiafs hpfs sysv
  23.   
  24.   ifdef CONFIG_MINIX_FS
  25.   FS_SUBDIRS := $(FS_SUBDIRS) minix
  26. --- 7,13 ----
  27.   #
  28.   # Note 2! The CFLAGS definitions are now in the main makefile...
  29.   
  30. ! SUBDIRS = minix ext ext2 msdos proc isofs nfs xiafs ifs hpfs sysv
  31.   
  32.   ifdef CONFIG_MINIX_FS
  33.   FS_SUBDIRS := $(FS_SUBDIRS) minix
  34. ***************
  35. *** 35,40 ****
  36. --- 35,43 ----
  37.   endif
  38.   ifdef CONFIG_SYSV_FS
  39.   FS_SUBDIRS := $(FS_SUBDIRS) sysv
  40. + endif
  41. + ifdef CONFIG_IFS_FS
  42. + FS_SUBDIRS := $(FS_SUBDIRS) ifs
  43.   endif
  44.   ifdef CONFIG_HPFS_FS
  45.   FS_SUBDIRS := $(FS_SUBDIRS) hpfs
  46. diff -r -c no-ifs-linux-118/fs/filesystems.c linux/fs/filesystems.c
  47. *** no-ifs-linux-118/fs/filesystems.c    Thu Apr 21 22:38:53 1994
  48. --- linux/fs/filesystems.c    Sat Apr 23 23:12:52 1994
  49. ***************
  50. *** 19,24 ****
  51. --- 19,27 ----
  52.   #include <linux/iso_fs.h>
  53.   #include <linux/sysv_fs.h>
  54.   #include <linux/hpfs_fs.h>
  55. + #ifdef CONFIG_IFS_FS
  56. + #include <linux/ifs_fs.h>
  57. + #endif
  58.   
  59.   extern void device_setup(void);
  60.   
  61. ***************
  62. *** 87,92 ****
  63. --- 90,100 ----
  64.   #ifdef CONFIG_HPFS_FS
  65.       register_filesystem(&(struct file_system_type)
  66.           {hpfs_read_super, "hpfs", 1, NULL});
  67. + #endif
  68. + #ifdef CONFIG_IFS_FS
  69. +     register_filesystem(&(struct file_system_type)
  70. +         {ifs_read_super, "ifs", 1, NULL});
  71.   #endif
  72.   
  73.       mount_root();
  74. diff -r -c no-ifs-linux-118/fs/super.c linux/fs/super.c
  75. *** no-ifs-linux-118/fs/super.c    Thu Apr 21 22:38:54 1994
  76. --- linux/fs/super.c    Sun Apr 24 00:04:40 1994
  77. ***************
  78. *** 489,495 ****
  79.       if (!fstype)        
  80.           return -ENODEV;
  81.       t = fstype->name;
  82. !     if (fstype->requires_dev) {
  83.           retval = namei(dev_name,&inode);
  84.           if (retval)
  85.               return retval;
  86. --- 489,495 ----
  87.       if (!fstype)        
  88.           return -ENODEV;
  89.       t = fstype->name;
  90. !     if (fstype->requires_dev && strcmp(t,"ifs")) {
  91.           retval = namei(dev_name,&inode);
  92.           if (retval)
  93.               return retval;
  94. diff -r -c no-ifs-linux-118/include/linux/fs.h linux/include/linux/fs.h
  95. *** no-ifs-linux-118/include/linux/fs.h    Thu Apr 21 22:38:54 1994
  96. --- linux/include/linux/fs.h    Sat Apr 23 22:16:12 1994
  97. ***************
  98. *** 160,165 ****
  99. --- 160,166 ----
  100.   #include <linux/iso_fs_i.h>
  101.   #include <linux/nfs_fs_i.h>
  102.   #include <linux/xia_fs_i.h>
  103. + #include <linux/ifs_fs_i.h>
  104.   #include <linux/sysv_fs_i.h>
  105.   
  106.   struct inode {
  107. ***************
  108. *** 204,214 ****
  109. --- 205,218 ----
  110.           struct iso_inode_info isofs_i;
  111.           struct nfs_inode_info nfs_i;
  112.           struct xiafs_inode_info xiafs_i;
  113. +         struct ifs_inode_info ifs_i;
  114.           struct sysv_inode_info sysv_i;
  115.           void * generic_ip;
  116.       } u;
  117.   };
  118.   
  119. + #include <linux/ifs_fs_f.h>
  120.   struct file {
  121.       mode_t f_mode;
  122.       dev_t f_rdev;            /* needed for /dev/tty */
  123. ***************
  124. *** 219,224 ****
  125. --- 223,231 ----
  126.       struct file *f_next, *f_prev;
  127.       struct inode * f_inode;
  128.       struct file_operations * f_op;
  129. +     union {
  130. +         struct ifs_file_info ifs_f;
  131. +     } u;
  132.   };
  133.   
  134.   struct file_lock {
  135. ***************
  136. *** 240,245 ****
  137. --- 247,253 ----
  138.   #include <linux/iso_fs_sb.h>
  139.   #include <linux/nfs_fs_sb.h>
  140.   #include <linux/xia_fs_sb.h>
  141. + #include <linux/ifs_fs_sb.h>
  142.   #include <linux/sysv_fs_sb.h>
  143.   
  144.   struct super_block {
  145. ***************
  146. *** 265,270 ****
  147. --- 273,279 ----
  148.           struct isofs_sb_info isofs_sb;
  149.           struct nfs_sb_info nfs_sb;
  150.           struct xiafs_sb_info xiafs_sb;
  151. +         struct ifs_sb_info ifs_sb;
  152.           struct sysv_sb_info sysv_sb;
  153.           void *generic_sbp;
  154.       } u;
  155.