]> git.baikalelectronics.ru Git - kernel.git/commit
dlm: limit dir lookup loop
authorDavid Teigland <teigland@redhat.com>
Wed, 9 Jan 2008 16:37:39 +0000 (10:37 -0600)
committerDavid Teigland <teigland@redhat.com>
Wed, 30 Jan 2008 17:04:42 +0000 (11:04 -0600)
commit303a51b3b216531a46cd33abd6e291e184d2e5e8
tree95fcee45218437aa2fbc17642feece9310f25abe
parentf81956c390b752cc7aea4bb1d07f4686911f0c9c
dlm: limit dir lookup loop

In a rare case we may need to repeat a local resource directory lookup
due to a race with removing the rsb and removing the resdir record.
We'll never need to do more than a single additional lookup, though,
so the infinite loop around the lookup can be removed.  In addition
to being unnecessary, the infinite loop is dangerous since some other
unknown condition may appear causing the loop to never break.

Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lock.c