]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/fs.h
block: adjust formatting for large minors and add ext_range sysfs attr
[net-next-2.6.git] / include / linux / fs.h
index 860689f541b177dad00c2f3448881fac9c79d8cb..02a9fb5a830ce5e7f482673762fa4319b948f3b4 100644 (file)
@@ -1685,6 +1685,7 @@ extern void chrdev_show(struct seq_file *,off_t);
 
 /* fs/block_dev.c */
 #define BDEVNAME_SIZE  32      /* Largest string for a blockdev identifier */
+#define BDEVT_SIZE     10      /* Largest string for MAJ:MIN for blkdev */
 
 #ifdef CONFIG_BLOCK
 #define BLKDEV_MAJOR_HASH_SIZE 255