X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=fs%2Fhfsplus%2Fsuper.c;h=11854dd84572639e86fc70290be9ff2ee4bd725a;hb=5dd0bf621e84b9f48cbee8f4a31f4d68568aeaee;hp=755bf30ba1ce5971df4c7693a0afbb2600cd2b00;hpb=df253e8454de6f85636aa4d9d99555fbcad6f580;p=linux-2.6-microblaze.git diff --git a/fs/hfsplus/super.c b/fs/hfsplus/super.c index 755bf30ba1ce..11854dd84572 100644 --- a/fs/hfsplus/super.c +++ b/fs/hfsplus/super.c @@ -220,7 +220,8 @@ static int hfsplus_sync_fs(struct super_block *sb, int wait) error2 = hfsplus_submit_bio(sb, sbi->part_start + HFSPLUS_VOLHEAD_SECTOR, - sbi->s_vhdr_buf, NULL, WRITE_SYNC); + sbi->s_vhdr_buf, NULL, REQ_OP_WRITE, + WRITE_SYNC); if (!error) error = error2; if (!write_backup) @@ -228,7 +229,8 @@ static int hfsplus_sync_fs(struct super_block *sb, int wait) error2 = hfsplus_submit_bio(sb, sbi->part_start + sbi->sect_count - 2, - sbi->s_backup_vhdr_buf, NULL, WRITE_SYNC); + sbi->s_backup_vhdr_buf, NULL, REQ_OP_WRITE, + WRITE_SYNC); if (!error) error2 = error; out: