]> git.baikalelectronics.ru Git - kernel.git/commit
fs: remove _submit_bh()
authorEric Biggers <ebiggers@google.com>
Sun, 26 Mar 2017 04:02:18 +0000 (21:02 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 27 Apr 2017 03:54:06 +0000 (23:54 -0400)
commit146ebffcb2010bd063e7d97016256f9f64ec00d7
tree98f0efdbd2cbce065817de4519e1f6fe5a4ef40a
parente5b6aa03aca7105c77f31be6f3fe587eded82dbe
fs: remove _submit_bh()

_submit_bh() allowed submitting a buffer_head for I/O using custom
bio_flags.  It used to be used by jbd to set BIO_SNAP_STABLE, introduced
by commit f7913e9fbf31 ("mm: make snapshotting pages for stable writes a
per-bio operation").  However, the code and flag has since been removed
and no _submit_bh() users remain.

These days, bio_flags are mostly used internally by the block layer to
track the state of bio's.  As such, it doesn't really make sense for
filesystems to use them instead of op_flags when wanting special
behavior for block requests.

Therefore, remove _submit_bh() and trim the bio_flags argument from
submit_bh_wbc().

Cc: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/buffer.c
include/linux/buffer_head.h