reiserfscore: make reiserfs_open's filename argument const
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
This commit is contained in:
1 parent
0a714b0477
commit
b94873771b
2 files changed
+2
-2
No files matched your search
@@ -75,7 +75,7 @@ typedef struct _transaction reiserfs_trans_t;
|
|||||||
void init_tb_struct(struct tree_balance *tb, reiserfs_filsys_t *,
|
void init_tb_struct(struct tree_balance *tb, reiserfs_filsys_t *,
|
||||||
struct reiserfs_path *path, int size);
|
struct reiserfs_path *path, int size);
|
||||||
|
|
||||||
reiserfs_filsys_t *reiserfs_open(char *filename, int flags, int *error,
|
reiserfs_filsys_t *reiserfs_open(const char *filename, int flags, int *error,
|
||||||
void *vp, int skip_check);
|
void *vp, int skip_check);
|
||||||
reiserfs_filsys_t *reiserfs_create(char *filename, int version,
|
reiserfs_filsys_t *reiserfs_create(char *filename, int version,
|
||||||
unsigned long block_count, int block_size,
|
unsigned long block_count, int block_size,
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ int is_block_count_correct(unsigned long journal_offset,
|
|||||||
/* read super block. fixme: only 4k blocks, pre-journaled format
|
/* read super block. fixme: only 4k blocks, pre-journaled format
|
||||||
is refused. Journal and bitmap are to be opened separately.
|
is refused. Journal and bitmap are to be opened separately.
|
||||||
skip_check is set to 1 if checks of openned SB should be omitted.*/
|
skip_check is set to 1 if checks of openned SB should be omitted.*/
|
||||||
reiserfs_filsys_t *reiserfs_open(char *filename, int flags,
|
reiserfs_filsys_t *reiserfs_open(const char *filename, int flags,
|
||||||
int *error, void *vp, int check)
|
int *error, void *vp, int check)
|
||||||
{
|
{
|
||||||
reiserfs_filsys_t *fs;
|
reiserfs_filsys_t *fs;
|
||||||
|
|||||||
Reference in new issue
Block a user