Commit cc43a08a authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] prepare device mapper for larger dev_t

From: Joe Thornber <thornber@sistina.com>

The only other thing that will need changing in dm to cope with 64bit
dev_t concerns the bitset I'm using to keep track of allocated minor
numbers.  A trivial patch like this would work for now:
parent 5a08774a
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include <linux/slab.h> #include <linux/slab.h>
static const char *_name = DM_NAME; static const char *_name = DM_NAME;
#define MAX_DEVICES (1 << KDEV_MINOR_BITS) #define MAX_DEVICES 1024
static int major = 0; static int major = 0;
static int _major = 0; static int _major = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment