summaryrefslogtreecommitdiff
path: root/fs/nilfs2/btnode.h
diff options
context:
space:
mode:
authorMike Christie <mchristi@redhat.com>2016-06-05 22:31:43 +0300
committerJens Axboe <axboe@fb.com>2016-06-07 22:41:38 +0300
commit2a222ca992c35aee1e83af428f3dd26a3f5d5d94 (patch)
treea5ff0a4f59f8fc44a276dd054ea04314eec1a043 /fs/nilfs2/btnode.h
parentf21508211d2b16e65821abd171378fa6ece126fe (diff)
downloadlinux-2a222ca992c35aee1e83af428f3dd26a3f5d5d94.tar.xz
fs: have submit_bh users pass in op and flags separately
This has submit_bh users pass in the operation and flags separately, so submit_bh_wbc can setup the bio op and bi_rw flags on the bio that is submitted. Signed-off-by: Mike Christie <mchristi@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/nilfs2/btnode.h')
-rw-r--r--fs/nilfs2/btnode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/btnode.h b/fs/nilfs2/btnode.h
index 2cc1b80e18f7..4e8aaa1aeb65 100644
--- a/fs/nilfs2/btnode.h
+++ b/fs/nilfs2/btnode.h
@@ -43,7 +43,7 @@ void nilfs_btnode_cache_clear(struct address_space *);
struct buffer_head *nilfs_btnode_create_block(struct address_space *btnc,
__u64 blocknr);
int nilfs_btnode_submit_block(struct address_space *, __u64, sector_t, int,
- struct buffer_head **, sector_t *);
+ int, struct buffer_head **, sector_t *);
void nilfs_btnode_delete(struct buffer_head *);
int nilfs_btnode_prepare_change_key(struct address_space *,
struct nilfs_btnode_chkey_ctxt *);