summaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2014-07-30 00:25:45 +0200
committerDavid Sterba <dsterba@suse.cz>2014-10-02 17:30:28 +0200
commitbfebd8b5441755f228ad02273682d675d3335123 (patch)
tree3474dbe72cb9605ace32424983f1f5e3e977aea8 /fs/btrfs/inode.c
parent01d5bc3789f8464abd13cc44e3cd6df9d17f2802 (diff)
btrfs: use enum for wq endio metadata type
The enum exists but is not consistently used. Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 344a322eb386..b1e388dea7b8 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -7721,7 +7721,8 @@ static inline int __btrfs_submit_dio_bio(struct bio *bio, struct inode *inode,
bio_get(bio);
if (!write) {
- ret = btrfs_bio_wq_end_io(root->fs_info, bio, 0);
+ ret = btrfs_bio_wq_end_io(root->fs_info, bio,
+ BTRFS_WQ_ENDIO_DATA);
if (ret)
goto err;
}