]> git.baikalelectronics.ru Git - kernel.git/commit
fs: Add helper to clean bdev aliases under a bh and use it
authorJan Kara <jack@suse.cz>
Fri, 4 Nov 2016 17:08:15 +0000 (18:08 +0100)
committerJens Axboe <axboe@fb.com>
Fri, 4 Nov 2016 20:34:47 +0000 (14:34 -0600)
commit03616f0f04b3249af3bea4f6d67b43ee5f0cceff
tree751d56f17914506a5e54a380f9a4d4519cadfa18
parent17fb7e3b4f99f64fcc076820f798e2c2a2a48c45
fs: Add helper to clean bdev aliases under a bh and use it

Add a helper function that clears buffer heads from a block device
aliasing passed bh. Use this helper function from filesystems instead of
the original unmap_underlying_metadata() to save some boiler plate code
and also have a better name for the functionalily since it is not
unmapping anything for a *long* time.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
fs/buffer.c
fs/ext4/inode.c
fs/ext4/page-io.c
fs/mpage.c
fs/ntfs/aops.c
fs/ntfs/file.c
fs/ocfs2/aops.c
fs/ufs/balloc.c
fs/ufs/inode.c
include/linux/buffer_head.h