Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346052
b: refs/heads/master
c: e544046
h: refs/heads/master
v: v3
  • Loading branch information
Andreas Gruenbacher authored and Philipp Reisner committed Nov 8, 2012
1 parent 4a27f99 commit 4af3886
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d0c980e236243cd03aa2291243587ac1ba3c2b04
refs/heads/master: e544046ab842ab93c275a6fc4e043c1cb637076d
6 changes: 3 additions & 3 deletions trunk/drivers/block/drbd/drbd_nl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1449,10 +1449,10 @@ int drbd_adm_attach(struct sk_buff *skb, struct genl_info *info)

/* Reset the "barriers don't work" bits here, then force meta data to
* be written, to ensure we determine if barriers are supported. */
if (new_disk_conf->no_md_flush)
set_bit(MD_NO_FUA, &mdev->flags);
else
if (new_disk_conf->md_flushes)
clear_bit(MD_NO_FUA, &mdev->flags);
else
set_bit(MD_NO_FUA, &mdev->flags);

/* Point of no return reached.
* Devices and memory are no longer released by error cleanup below.
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/drbd_genl.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf,
__flg_field_def(16, GENLA_F_MANDATORY, disk_barrier, 1)
__flg_field_def(17, GENLA_F_MANDATORY, disk_flushes, 1)
__flg_field_def(18, GENLA_F_MANDATORY, disk_drain, 1)
__flg_field_def(19, GENLA_F_MANDATORY, no_md_flush, 0)
__flg_field_def(19, GENLA_F_MANDATORY, md_flushes, 1)
)

GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts,
Expand Down

0 comments on commit 4af3886

Please sign in to comment.