diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2009-05-24 12:28:38 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2009-05-24 12:28:38 +0000 |
| commit | 8aec91b5e8ab6a575745ba6d4946d1cfab860489 (patch) | |
| tree | a0b918f89c4e548b53d551ed33839c355034cbd4 /sys/kern | |
| parent | 3b086f3159bd795c940ead5f973471e7df9d2265 (diff) | |
Notes
Diffstat (limited to 'sys/kern')
| -rw-r--r-- | sys/kern/kern_lockf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_lockf.c b/sys/kern/kern_lockf.c index b8cece625257..aeb6a8cafd2d 100644 --- a/sys/kern/kern_lockf.c +++ b/sys/kern/kern_lockf.c @@ -1361,7 +1361,7 @@ lf_setlock(struct lockf *state, struct lockf_entry *lock, struct vnode *vp, /* * Scan lock list for this file looking for locks that would block us. */ - while (lf_getblock(state, lock)) { + if (lf_getblock(state, lock)) { /* * Free the structure and return if nonblocking. */ |
