commit | 8c387def58351f571cfcad93a3b57dff415b40c0 | [log] [tgz] |
---|---|---|
author | Lars Ellenberg <lars.ellenberg@linbit.com> | Fri Feb 18 14:13:07 2011 +0100 |
committer | Philipp Reisner <philipp.reisner@linbit.com> | Fri Oct 14 16:47:39 2011 +0200 |
tree | fb55b7722b039d5bdddb2543ab639fbc93b17151 | |
parent | c670a398676499913ce72c26a66d204bcbdbc2e9 [diff] |
drbd: simplify condition in drbd_may_do_local_read() fold if (x >= (N+1)) return 0; if (x < N) return 0; into if (x != N) return 0; Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>