lkml.org 
[lkml]   [2012]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 2/2] fat: use fat_msg_ratelimit in fat__get_entry.
    Date
    Namjae Jeon <linkinjeon@gmail.com> writes:

    > [ 58.052000] FAT-fs (sda1): Directory bread(block 396820) failed
    > [ 58.060000] FAT-fs (sda1): Directory bread(block 396821) failed
    > ....
    > ...
    > .
    > Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
    > Signed-off-by: Amit Sahrawat <amit.sahrawat83@gmail.com>

    Looks fine.

    Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

    Thanks.

    > ---
    > fs/fat/dir.c | 4 ++--
    > 1 files changed, 2 insertions(+), 2 deletions(-)
    >
    > diff --git a/fs/fat/dir.c b/fs/fat/dir.c
    > index aca191b..b2cdbf4 100644
    > --- a/fs/fat/dir.c
    > +++ b/fs/fat/dir.c
    > @@ -98,8 +98,8 @@ next:
    >
    > *bh = sb_bread(sb, phys);
    > if (*bh == NULL) {
    > - fat_msg(sb, KERN_ERR, "Directory bread(block %llu) failed",
    > - (llu)phys);
    > + fat_msg_ratelimit(sb, KERN_ERR, "Directory bread(block %llu) "
    > + "failed", (llu)phys);
    > /* skip this block */
    > *pos = (iblock + 1) << sb->s_blocksize_bits;
    > goto next;

    --
    OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>


    \
     
     \ /
      Last update: 2012-05-13 17:01    [W:0.023 / U:64.116 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site