diff options
author | David Teigland <teigland@redhat.com> | 2006-01-20 03:47:07 -0500 |
---|---|---|
committer | Steven Whitehouse <steve@chygwyn.com> | 2006-01-20 03:47:07 -0500 |
commit | 901359256b2666f52a3a7d3f31927677e91b3a2a (patch) | |
tree | 24d4ee2c1ad63a0e6c3a303ad67eac3342772c4f /fs/dlm/dir.c | |
parent | ec5800246607183a1d7fd0bae5f087c12439e9e7 (diff) |
[DLM] Update DLM to the latest patch level
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steve Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/dlm/dir.c')
-rw-r--r-- | fs/dlm/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/dlm/dir.c b/fs/dlm/dir.c index 0f1dde54bcd2..46754553fdcc 100644 --- a/fs/dlm/dir.c +++ b/fs/dlm/dir.c | |||
@@ -33,7 +33,7 @@ static void put_free_de(struct dlm_ls *ls, struct dlm_direntry *de) | |||
33 | 33 | ||
34 | static struct dlm_direntry *get_free_de(struct dlm_ls *ls, int len) | 34 | static struct dlm_direntry *get_free_de(struct dlm_ls *ls, int len) |
35 | { | 35 | { |
36 | int found = FALSE; | 36 | int found = 0; |
37 | struct dlm_direntry *de; | 37 | struct dlm_direntry *de; |
38 | 38 | ||
39 | spin_lock(&ls->ls_recover_list_lock); | 39 | spin_lock(&ls->ls_recover_list_lock); |
@@ -42,7 +42,7 @@ static struct dlm_direntry *get_free_de(struct dlm_ls *ls, int len) | |||
42 | list_del(&de->list); | 42 | list_del(&de->list); |
43 | de->master_nodeid = 0; | 43 | de->master_nodeid = 0; |
44 | memset(de->name, 0, len); | 44 | memset(de->name, 0, len); |
45 | found = TRUE; | 45 | found = 1; |
46 | break; | 46 | break; |
47 | } | 47 | } |
48 | } | 48 | } |