patch-2.1.18 linux/fs/hpfs/hpfs_fs.c
Next file: linux/fs/isofs/inode.c
Previous file: linux/fs/fat/fatfs_syms.c
Back to the patch index
Back to the overall index
- Lines: 85
- Date:
Fri Dec 27 12:03:25 1996
- Orig file:
v2.1.17/linux/fs/hpfs/hpfs_fs.c
- Orig date:
Tue Oct 29 19:58:42 1996
diff -u --recursive --new-file v2.1.17/linux/fs/hpfs/hpfs_fs.c linux/fs/hpfs/hpfs_fs.c
@@ -29,7 +29,7 @@
#include "hpfs.h"
#include "hpfs_caps.h"
-/*
+/*
* HPFS is a mixture of 512-byte blocks and 2048-byte blocks. The 2k blocks
* are used for directories and bitmaps. For bmap to work, we must run the
* file system with 512-byte blocks. The 2k blocks are assembled in buffers
@@ -115,7 +115,7 @@
* seen -- in fact noncontiguous files are seldom seen. I think this is
* partly the open() call that lets programs specify the length of an
* output file when they know it, and partly because HPFS.IFS really is
- * very good at resisting fragmentation.
+ * very good at resisting fragmentation.
*/
/* notation */
@@ -298,7 +298,7 @@
}
/*
- * test for directory's inode number
+ * test for directory's inode number
*/
static inline int ino_is_dir(ino_t ino)
@@ -606,7 +606,7 @@
else
return 0;
}
- else if (!strcmp(p,"nocheck"))
+ else if (!strcmp(p,"nocheck"))
*nocheck=1;
else
return 1;
@@ -1043,7 +1043,7 @@
* Search allocation tree *b for the given file sector number and return
* the disk sector number. Buffer *bhp has the tree in it, and can be
* reused for subtrees when access to *b is no longer needed.
- * *bhp is busy on entry and exit.
+ * *bhp is busy on entry and exit.
*/
static secno bplus_lookup(struct inode *inode, struct bplus_header *b,
@@ -1342,7 +1342,7 @@
* 0 => . -1 => .. 1 1.1 ... 8.9 9 => files -2 => eof
*
* The directory inode caches one position-to-dnode correspondence so
- * we won't have to repeatedly scan the top levels of the tree.
+ * we won't have to repeatedly scan the top levels of the tree.
*/
/*
@@ -1427,7 +1427,7 @@
/*
* Map the dir entry at subtree coordinates given by *posp, and
- * increment *posp to point to the following dir entry.
+ * increment *posp to point to the following dir entry.
*/
static struct hpfs_dirent *map_pos_dirent(struct inode *inode, loff_t *posp,
@@ -1754,13 +1754,11 @@
}
#ifdef MODULE
+EXPORT_NO_SYMBOLS;
+
int init_module(void)
{
- int status;
-
- if ((status = init_hpfs_fs()) == 0)
- register_symtab(0);
- return status;
+ return init_hpfs_fs();
}
void cleanup_module(void)
@@ -1769,4 +1767,3 @@
}
#endif
-
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov