mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 18:04:48 +00:00
fs: ext4: Remove unused parameter from ext4_mount
The part_length parameter is not used. Remove it. Signed-off-by: Sean Anderson <seanga2@gmail.com>
This commit is contained in:
parent
da35ab68de
commit
7667bdeb0e
5 changed files with 7 additions and 7 deletions
|
@ -29,7 +29,7 @@ int spl_load_image_ext(struct spl_image_info *spl_image,
|
|||
|
||||
ext4fs_set_blk_dev(block_dev, &part_info);
|
||||
|
||||
err = ext4fs_mount(part_info.size);
|
||||
err = ext4fs_mount();
|
||||
if (!err) {
|
||||
#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
|
||||
printf("%s: ext4fs mount err - %d\n", __func__, err);
|
||||
|
@ -84,7 +84,7 @@ int spl_load_image_ext_os(struct spl_image_info *spl_image,
|
|||
|
||||
ext4fs_set_blk_dev(block_dev, &part_info);
|
||||
|
||||
err = ext4fs_mount(part_info.size);
|
||||
err = ext4fs_mount();
|
||||
if (!err) {
|
||||
#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
|
||||
printf("%s: ext4fs mount err - %d\n", __func__, err);
|
||||
|
|
4
env/ext4.c
vendored
4
env/ext4.c
vendored
|
@ -77,7 +77,7 @@ static int env_ext4_save_buffer(env_t *env_new)
|
|||
dev = dev_desc->devnum;
|
||||
ext4fs_set_blk_dev(dev_desc, &info);
|
||||
|
||||
if (!ext4fs_mount(info.size)) {
|
||||
if (!ext4fs_mount()) {
|
||||
printf("\n** Unable to use %s %s for saveenv **\n",
|
||||
ifname, dev_and_part);
|
||||
return 1;
|
||||
|
@ -160,7 +160,7 @@ static int env_ext4_load(void)
|
|||
dev = dev_desc->devnum;
|
||||
ext4fs_set_blk_dev(dev_desc, &info);
|
||||
|
||||
if (!ext4fs_mount(info.size)) {
|
||||
if (!ext4fs_mount()) {
|
||||
printf("\n** Unable to use %s %s for loading the env **\n",
|
||||
ifname, dev_and_part);
|
||||
goto err_env_relocate;
|
||||
|
|
|
@ -2368,7 +2368,7 @@ fail:
|
|||
return -1;
|
||||
}
|
||||
|
||||
int ext4fs_mount(unsigned part_length)
|
||||
int ext4fs_mount(void)
|
||||
{
|
||||
struct ext2_data *data;
|
||||
int status;
|
||||
|
|
|
@ -233,7 +233,7 @@ int ext4fs_probe(struct blk_desc *fs_dev_desc,
|
|||
{
|
||||
ext4fs_set_blk_dev(fs_dev_desc, fs_partition);
|
||||
|
||||
if (!ext4fs_mount(fs_partition->size)) {
|
||||
if (!ext4fs_mount()) {
|
||||
ext4fs_close();
|
||||
return -1;
|
||||
}
|
||||
|
|
|
@ -147,7 +147,7 @@ int ext4fs_create_link(const char *target, const char *fname);
|
|||
struct ext_filesystem *get_fs(void);
|
||||
int ext4fs_open(const char *filename, loff_t *len);
|
||||
int ext4fs_read(char *buf, loff_t offset, loff_t len, loff_t *actread);
|
||||
int ext4fs_mount(unsigned part_length);
|
||||
int ext4fs_mount(void);
|
||||
void ext4fs_close(void);
|
||||
void ext4fs_reinit_global(void);
|
||||
int ext4fs_ls(const char *dirname);
|
||||
|
|
Loading…
Add table
Reference in a new issue