sunrpc: fix memory leak in unix_gid cache.
[safe/jmp/linux-2.6] / fs / partitions / check.h
index 43adcc6..98dbe1a 100644 (file)
@@ -5,15 +5,13 @@
  * add_gd_partition adds a partitions details to the devices partition
  * description.
  */
-enum { MAX_PART = 256 };
-
 struct parsed_partitions {
        char name[BDEVNAME_SIZE];
        struct {
                sector_t from;
                sector_t size;
                int flags;
-       } parts[MAX_PART];
+       } parts[DISK_MAX_PARTS];
        int next;
        int limit;
 };
@@ -30,7 +28,3 @@ put_partition(struct parsed_partitions *p, int n, sector_t from, sector_t size)
 
 extern int warn_no_part;
 
-extern void parse_bsd(struct parsed_partitions *state,
-                       struct block_device *bdev, u32 offset, u32 size,
-                       int origin, char *flavour, int max_partitions);
-