projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Whitespace changes only.
[pspp]
/
src
/
data
/
file-handle-def.c
diff --git
a/src/data/file-handle-def.c
b/src/data/file-handle-def.c
index 4c4820cb12a08fddfc025890fd1f02afd45bb035..4546a9ca0c4a137571878b2dab9086d4b63134c0 100644
(file)
--- a/
src/data/file-handle-def.c
+++ b/
src/data/file-handle-def.c
@@
-494,14
+494,14
@@
fh_lock (struct file_handle *h, enum fh_referent mask UNUSED,
HMAP_FOR_EACH_WITH_HASH (lock, struct fh_lock, node, hash, &locks)
{
HMAP_FOR_EACH_WITH_HASH (lock, struct fh_lock, node, hash, &locks)
{
- if (
0 == compare_fh_locks (lock, key))
+ if (0 == compare_fh_locks (lock, key))
{
found_lock = true;
break;
}
}
{
found_lock = true;
break;
}
}
- if (
found_lock
)
+ if (
found_lock
)
{
if (strcmp (lock->type, type))
{
{
if (strcmp (lock->type, type))
{
@@
-533,7
+533,7
@@
fh_lock (struct file_handle *h, enum fh_referent mask UNUSED,
found_lock = false;
HMAP_FOR_EACH_WITH_HASH (lock, struct fh_lock, node, hash, &locks)
{
found_lock = false;
HMAP_FOR_EACH_WITH_HASH (lock, struct fh_lock, node, hash, &locks)
{
- if (
0 == compare_fh_locks (lock, key))
+ if (0 == compare_fh_locks (lock, key))
{
found_lock = true;
break;
{
found_lock = true;
break;
@@
-608,7
+608,7
@@
fh_is_locked (const struct file_handle *handle, enum fh_access access)
HMAP_FOR_EACH_WITH_HASH (k, struct fh_lock, node, hash, &locks)
{
HMAP_FOR_EACH_WITH_HASH (k, struct fh_lock, node, hash, &locks)
{
- if (
0 == compare_fh_locks (k, &key))
+ if (0 == compare_fh_locks (k, &key))
{
is_locked = true;
break;
{
is_locked = true;
break;