~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to fs/fat/fatent.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
err_brelse:
96
96
        brelse(bhs[0]);
97
97
err:
98
 
        printk(KERN_ERR "FAT: FAT read failed (blocknr %llu)\n", (llu)blocknr);
 
98
        fat_msg(sb, KERN_ERR, "FAT read failed (blocknr %llu)", (llu)blocknr);
99
99
        return -EIO;
100
100
}
101
101
 
108
108
        fatent->fat_inode = MSDOS_SB(sb)->fat_inode;
109
109
        fatent->bhs[0] = sb_bread(sb, blocknr);
110
110
        if (!fatent->bhs[0]) {
111
 
                printk(KERN_ERR "FAT: FAT read failed (blocknr %llu)\n",
 
111
                fat_msg(sb, KERN_ERR, "FAT read failed (blocknr %llu)",
112
112
                       (llu)blocknr);
113
113
                return -EIO;
114
114
        }