diff options
author | David Teigland <teigland@redhat.com> | 2012-04-23 23:08:52 +0400 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2012-04-27 00:37:56 +0400 |
commit | 57638bf3aa64facd9eba0e018b5773f5d2da6c2b (patch) | |
tree | 7d85777d3371f0a61172ef97a8b8d6a766e7ac18 /fs/dlm/rcom.c | |
parent | d6e24788d21c4f1a8f00c811c31dd4e9a58679ac (diff) | |
download | linux-57638bf3aa64facd9eba0e018b5773f5d2da6c2b.tar.xz |
dlm: avoid unnecessary search in search_rsb
If the rsb is found in the "keep" tree, but is
not the right type (i.e. not MASTER), we can
return immediately with the result. There's
no point in going on to search the "toss" list
as if we hadn't found it.
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/rcom.c')
0 files changed, 0 insertions, 0 deletions