summaryrefslogtreecommitdiffstats
path: root/fs/befs/linuxvfs.c
diff options
context:
space:
mode:
authorSalah Triki <salah.triki@gmail.com>2016-07-23 14:36:42 +0200
committerLuis de Bethencourt <luisbg@osg.samsung.com>2016-10-08 11:01:12 +0200
commitf7f675406be6eb3736a8690217d7b41d60f6a1aa (patch)
tree705249484cabc9add57f29ca27c92627d8af0001 /fs/befs/linuxvfs.c
parentbefs: remove unused functions (diff)
downloadlinux-f7f675406be6eb3736a8690217d7b41d60f6a1aa.tar.xz
linux-f7f675406be6eb3736a8690217d7b41d60f6a1aa.zip
fs: befs: replace befs_bread by sb_bread
Since befs_bread merely calls sb_bread, replace it by sb_bread. Link: http://lkml.kernel.org/r/1466800258-4542-1-git-send-email-salah.triki@gmail.com Signed-off-by: Salah Triki <salah.triki@gmail.com> Acked-by: Luis de Bethencourt <luisbg@osg.samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/befs/linuxvfs.c')
-rw-r--r--fs/befs/linuxvfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c
index 453bb68da219..619b998e9a1e 100644
--- a/fs/befs/linuxvfs.c
+++ b/fs/befs/linuxvfs.c
@@ -318,7 +318,7 @@ static struct inode *befs_iget(struct super_block *sb, unsigned long ino)
befs_ino->i_inode_num.allocation_group,
befs_ino->i_inode_num.start, befs_ino->i_inode_num.len);
- bh = befs_bread(sb, inode->i_ino);
+ bh = sb_bread(sb, inode->i_ino);
if (!bh) {
befs_error(sb, "unable to read inode block - "
"inode = %lu", inode->i_ino);