Changes by: flatcap
Update of /cvsroot/linux-ntfs/dynamic-disk/linux/fs/partitions
In directory usw-pr-cvs1:/tmp/cvs-serv30544/linux/fs/partitions
Modified Files:
ldm.c
Log Message:
a few minor tweaks before the first release
Index: ldm.c
===================================================================
RCS file: /cvsroot/linux-ntfs/dynamic-disk/linux/fs/partitions/ldm.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -U2 -r1.6 -r1.7
--- ldm.c 2001/06/21 01:08:45 1.6
+++ ldm.c 2001/06/21 02:11:37 1.7
@@ -72,5 +72,5 @@
/* We're looking for an MSDOS-style partition table with one entry in it:
* 0x42, which works like an extended partition. Detail will be placed in pt.*/
-int parse_part_table (u8 *buffer, struct ldmpart *pt)
+static int parse_part_table (u8 *buffer, struct ldmpart *pt)
{
struct partition *p;
@@ -92,5 +92,5 @@
}
-int parse_privhead (u8 *buffer, struct privhead *ph)
+static int parse_privhead (u8 *buffer, struct privhead *ph)
{
if (!buffer || !ph)
@@ -118,5 +118,5 @@
}
-int parse_tocblock (u8 *buffer, struct tocblock *toc)
+static int parse_tocblock (u8 *buffer, struct tocblock *toc)
{
if (!buffer || !toc)
@@ -127,5 +127,5 @@
}
-int parse_vmdb (u8 *buffer, struct vmdb *vm)
+static int parse_vmdb (u8 *buffer, struct vmdb *vm)
{
if (!buffer || !vm)
@@ -146,5 +146,5 @@
}
-int parse_partition (u8 *buffer, struct vblk *vb)
+static int parse_partition (u8 *buffer, struct vblk *vb)
{
int rel_objid;
@@ -169,5 +169,5 @@
}
-int parse_vblk (struct privhead *ph, u8 *buffer, struct vblk *vb)
+static int parse_vblk (struct privhead *ph, u8 *buffer, struct vblk *vb)
{
if (!buffer || !vb)
@@ -197,5 +197,5 @@
/* validate the range, then put an entry into the kernel's partition table
* start and size are numbers of sectors */
-int create_partition (struct gendisk *hd, int minor, int start, int size)
+static int create_partition (struct gendisk *hd, int minor, int start, int size)
{
int disk_minor;
@@ -213,5 +213,5 @@
/* find the primary private header, locate the LDM database,
* then create a partition to wrap it */
-int create_db_partition (struct gendisk *hd, kdev_t dev, struct privhead *ph)
+static int create_db_partition (struct gendisk *hd, kdev_t dev, struct privhead *ph)
{
struct buffer_head *bh;
@@ -239,5 +239,5 @@
/* We already have one privhead from the beginning of the disk.
* Now we compare the two other copies for safety. */
-int validate_privheads (kdev_t dev, struct privhead *ph)
+static int validate_privheads (kdev_t dev, struct privhead *ph)
{
struct buffer_head *bh;
@@ -267,5 +267,5 @@
/* Find and compare the four Tables Of Contents */
-int validate_tocblocks (kdev_t devdb, struct tocblock *toc1)
+static int validate_tocblocks (kdev_t devdb, struct tocblock *toc1)
{
struct buffer_head *bh;
|