diff options
author | Christoph Hellwig <hch@lst.de> | 2016-11-01 09:40:10 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-11-01 11:43:26 -0400 |
commit | 70fd76140a6cb63262bd47b68d57b42e889c10ee (patch) | |
tree | 0590b2ef1b89b6af6abb8da9d23d5d87991d74c8 /fs/hfsplus/super.c | |
parent | a2b809672ee6fcb4d5756ea815725b3dbaea654e (diff) |
block,fs: use REQ_* flags directly
Remove the WRITE_* and READ_SYNC wrappers, and just use the flags
directly. Where applicable this also drops usage of the
bio_set_op_attrs wrapper.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/hfsplus/super.c')
-rw-r--r-- | fs/hfsplus/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/hfsplus/super.c b/fs/hfsplus/super.c index 11854dd84572..67aedf4c2e7c 100644 --- a/fs/hfsplus/super.c +++ b/fs/hfsplus/super.c | |||
@@ -221,7 +221,7 @@ static int hfsplus_sync_fs(struct super_block *sb, int wait) | |||
221 | error2 = hfsplus_submit_bio(sb, | 221 | error2 = hfsplus_submit_bio(sb, |
222 | sbi->part_start + HFSPLUS_VOLHEAD_SECTOR, | 222 | sbi->part_start + HFSPLUS_VOLHEAD_SECTOR, |
223 | sbi->s_vhdr_buf, NULL, REQ_OP_WRITE, | 223 | sbi->s_vhdr_buf, NULL, REQ_OP_WRITE, |
224 | WRITE_SYNC); | 224 | REQ_SYNC); |
225 | if (!error) | 225 | if (!error) |
226 | error = error2; | 226 | error = error2; |
227 | if (!write_backup) | 227 | if (!write_backup) |
@@ -230,7 +230,7 @@ static int hfsplus_sync_fs(struct super_block *sb, int wait) | |||
230 | error2 = hfsplus_submit_bio(sb, | 230 | error2 = hfsplus_submit_bio(sb, |
231 | sbi->part_start + sbi->sect_count - 2, | 231 | sbi->part_start + sbi->sect_count - 2, |
232 | sbi->s_backup_vhdr_buf, NULL, REQ_OP_WRITE, | 232 | sbi->s_backup_vhdr_buf, NULL, REQ_OP_WRITE, |
233 | WRITE_SYNC); | 233 | REQ_SYNC); |
234 | if (!error) | 234 | if (!error) |
235 | error2 = error; | 235 | error2 = error; |
236 | out: | 236 | out: |