]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/ntfs/aops.c
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)
commite64855c6cfaa0a80c1b71c5f647cb792dc436668
tree751d56f17914506a5e54a380f9a4d4519cadfa18
parent69a9bea146b185be8ec50e80eaecd8e487e689f8
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