diff options
Diffstat (limited to 'drivers/mtd/ubi/eba.c')
-rw-r--r-- | drivers/mtd/ubi/eba.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c index 7ab79e247245..587b6cb5040f 100644 --- a/drivers/mtd/ubi/eba.c +++ b/drivers/mtd/ubi/eba.c | |||
@@ -963,7 +963,7 @@ int ubi_eba_copy_leb(struct ubi_device *ubi, int from, int to, | |||
963 | vol_id = be32_to_cpu(vid_hdr->vol_id); | 963 | vol_id = be32_to_cpu(vid_hdr->vol_id); |
964 | lnum = be32_to_cpu(vid_hdr->lnum); | 964 | lnum = be32_to_cpu(vid_hdr->lnum); |
965 | 965 | ||
966 | dbg_eba("copy LEB %d:%d, PEB %d to PEB %d", vol_id, lnum, from, to); | 966 | dbg_wl("copy LEB %d:%d, PEB %d to PEB %d", vol_id, lnum, from, to); |
967 | 967 | ||
968 | if (vid_hdr->vol_type == UBI_VID_STATIC) { | 968 | if (vid_hdr->vol_type == UBI_VID_STATIC) { |
969 | data_size = be32_to_cpu(vid_hdr->data_size); | 969 | data_size = be32_to_cpu(vid_hdr->data_size); |
@@ -984,7 +984,7 @@ int ubi_eba_copy_leb(struct ubi_device *ubi, int from, int to, | |||
984 | spin_unlock(&ubi->volumes_lock); | 984 | spin_unlock(&ubi->volumes_lock); |
985 | if (!vol) { | 985 | if (!vol) { |
986 | /* No need to do further work, cancel */ | 986 | /* No need to do further work, cancel */ |
987 | dbg_eba("volume %d is being removed, cancel", vol_id); | 987 | dbg_wl("volume %d is being removed, cancel", vol_id); |
988 | return MOVE_CANCEL_RACE; | 988 | return MOVE_CANCEL_RACE; |
989 | } | 989 | } |
990 | 990 | ||
@@ -1003,7 +1003,7 @@ int ubi_eba_copy_leb(struct ubi_device *ubi, int from, int to, | |||
1003 | */ | 1003 | */ |
1004 | err = leb_write_trylock(ubi, vol_id, lnum); | 1004 | err = leb_write_trylock(ubi, vol_id, lnum); |
1005 | if (err) { | 1005 | if (err) { |
1006 | dbg_eba("contention on LEB %d:%d, cancel", vol_id, lnum); | 1006 | dbg_wl("contention on LEB %d:%d, cancel", vol_id, lnum); |
1007 | return MOVE_CANCEL_RACE; | 1007 | return MOVE_CANCEL_RACE; |
1008 | } | 1008 | } |
1009 | 1009 | ||
@@ -1013,9 +1013,9 @@ int ubi_eba_copy_leb(struct ubi_device *ubi, int from, int to, | |||
1013 | * cancel it. | 1013 | * cancel it. |
1014 | */ | 1014 | */ |
1015 | if (vol->eba_tbl[lnum] != from) { | 1015 | if (vol->eba_tbl[lnum] != from) { |
1016 | dbg_eba("LEB %d:%d is no longer mapped to PEB %d, mapped to " | 1016 | dbg_wl("LEB %d:%d is no longer mapped to PEB %d, mapped to " |
1017 | "PEB %d, cancel", vol_id, lnum, from, | 1017 | "PEB %d, cancel", vol_id, lnum, from, |
1018 | vol->eba_tbl[lnum]); | 1018 | vol->eba_tbl[lnum]); |
1019 | err = MOVE_CANCEL_RACE; | 1019 | err = MOVE_CANCEL_RACE; |
1020 | goto out_unlock_leb; | 1020 | goto out_unlock_leb; |
1021 | } | 1021 | } |
@@ -1027,7 +1027,7 @@ int ubi_eba_copy_leb(struct ubi_device *ubi, int from, int to, | |||
1027 | * @ubi->buf_mutex. | 1027 | * @ubi->buf_mutex. |
1028 | */ | 1028 | */ |
1029 | mutex_lock(&ubi->buf_mutex); | 1029 | mutex_lock(&ubi->buf_mutex); |
1030 | dbg_eba("read %d bytes of data", aldata_size); | 1030 | dbg_wl("read %d bytes of data", aldata_size); |
1031 | err = ubi_io_read_data(ubi, ubi->peb_buf1, from, 0, aldata_size); | 1031 | err = ubi_io_read_data(ubi, ubi->peb_buf1, from, 0, aldata_size); |
1032 | if (err && err != UBI_IO_BITFLIPS) { | 1032 | if (err && err != UBI_IO_BITFLIPS) { |
1033 | ubi_warn("error %d while reading data from PEB %d", | 1033 | ubi_warn("error %d while reading data from PEB %d", |