diff options
author | Eric Biggers <ebiggers@google.com> | 2017-03-26 06:02:18 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-04-27 05:54:06 +0200 |
commit | 020c2833dbc76b4069c9a9886b71511052d160df (patch) | |
tree | 98f0efdbd2cbce065817de4519e1f6fe5a4ef40a /fs/fcntl.c | |
parent | fs: constify tree_descr arrays passed to simple_fill_super() (diff) | |
download | linux-020c2833dbc76b4069c9a9886b71511052d160df.tar.xz linux-020c2833dbc76b4069c9a9886b71511052d160df.zip |
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 713685111774 ("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>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions