commit | 1b3bb47d526c63a845e3374d6272a67fbe20a468 | [log] [tgz] |
---|---|---|
author | Andreas Gruenbacher <agruen@linbit.com> | Fri Jan 28 13:28:51 2011 +0100 |
committer | Philipp Reisner <philipp.reisner@linbit.com> | Fri Oct 14 16:47:52 2011 +0200 |
tree | d3ef65948bb37cd4611b642ca9f5e5fb887cbb9f | |
parent | 7be8da0798f08fb9564d4f64fe4a7d6fb4fab20b [diff] |
drbd: Remove redundant check Opening a device only succeeds on a primary node, or when explicitly setting the allow_oos module parameter to allow opening the device read-only on a secondary node. There is no other way that a request can get into drbd_make_request(), so this code cannot trigger. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>