summaryrefslogtreecommitdiff
path: root/include/reiserfs.h
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-08-23 11:31:50 +0000
committerTom Rini <trini@ti.com>2012-09-25 14:49:18 -0700
commit650f36641ccfe1c2444277891da7c76cdde99f8b (patch)
treebcab984686fe6c08a7e28a09406193b2a7b8f175 /include/reiserfs.h
parent412045704477a9b4d46b7e1fddbd53ec5dcde155 (diff)
cmd_reiser: use common get_device_and_partition function
Convert reiserload and reiserls to use common device and partition parsing function. With the common function "dev:part" can come from the environment and a '-' can be used in that case. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'include/reiserfs.h')
-rw-r--r--include/reiserfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/reiserfs.h b/include/reiserfs.h
index c465b3cdaf..dc893425a5 100644
--- a/include/reiserfs.h
+++ b/include/reiserfs.h
@@ -75,7 +75,7 @@ typedef enum
} reiserfs_error_t;
-extern int reiserfs_set_blk_dev(block_dev_desc_t *rbdd, int part);
+extern void reiserfs_set_blk_dev(block_dev_desc_t *rbdd, disk_partition_t *info);
extern int reiserfs_ls (char *dirname);
extern int reiserfs_open (char *filename);
extern int reiserfs_read (char *buf, unsigned len);