| 975 | } |
| 976 | |
| 977 | static inline struct buffer_head * |
| 978 | sb_bread(struct super_block *sb, sector_t block) |
| 979 | { |
| 980 | struct buffer_head *bh = __getblk(sb->s_bdev, block, sb->s_blocksize); |
| 981 | if (!bh) |
| 982 | return NULL; |
| 983 | if (!buffer_uptodate(bh) && (bh_submit_read(bh) < 0)) { |
| 984 | brelse(bh); |
| 985 | return NULL; |
| 986 | } |
| 987 | return bh; |
| 988 | } |
| 989 | |
| 990 | static inline struct buffer_head * |
| 991 | sb_find_get_block(struct super_block *sb, sector_t block) |
nothing calls this directly
no test coverage detected