aboutsummaryrefslogtreecommitdiff
path: root/include/linux/buffer_head.h
diff options
context:
space:
mode:
authorAli Al-Asadi <alasadi56@gmail.com>2017-12-25 09:25:31 +0100
committerAli Al-Asadi <alasadi56@gmail.com>2017-12-25 09:25:31 +0100
commitd419af293a363e09587acb69910104a48dbf3deb (patch)
treea8a213e370276be6642c710fe35264558ef918f5 /include/linux/buffer_head.h
parent87d59c267cf877f59e46981a0b87d05af5a8a65b (diff)
parent15c63d8508791a0733c9f0229f75864ad3e99d4e (diff)
Merge https://github.com/TeamButter/android_kernel_motorola_msm8952 into o8.1o8.0
Diffstat (limited to 'include/linux/buffer_head.h')
-rw-r--r--include/linux/buffer_head.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/buffer_head.h b/include/linux/buffer_head.h
index ca31306f7b5..8236ef859a9 100644
--- a/include/linux/buffer_head.h
+++ b/include/linux/buffer_head.h
@@ -297,6 +297,18 @@ sb_bread(struct super_block *sb, sector_t block)
return __bread(sb->s_bdev, block, sb->s_blocksize);
}
+static inline struct buffer_head *
+sb_bread_unmovable(struct super_block *sb, sector_t block)
+{
+ return sb_bread(sb, block);
+}
+
+static inline struct buffer_head *getblk_unmovable(struct block_device *bdev,
+ sector_t block, unsigned size)
+{
+ return __getblk(bdev, block, size);
+}
+
static inline void
sb_breadahead(struct super_block *sb, sector_t block)
{