diff options
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 | } |