Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201030
b: refs/heads/master
c: e372357
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Joel Becker committed Jul 12, 2010
1 parent 65c3fae commit dd73057
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 121a39bb00b421211f4f590c440a8f636d3ae807
refs/heads/master: e372357ba55ae89307af15cd680467d8f0db4f01
2 changes: 1 addition & 1 deletion trunk/fs/ocfs2/dlm/dlmdomain.c
Original file line number Diff line number Diff line change
Expand Up @@ -1671,7 +1671,7 @@ struct dlm_ctxt * dlm_register_domain(const char *domain,
struct dlm_ctxt *dlm = NULL;
struct dlm_ctxt *new_ctxt = NULL;

if (strlen(domain) > O2NM_MAX_NAME_LEN) {
if (strlen(domain) >= O2NM_MAX_NAME_LEN) {
ret = -ENAMETOOLONG;
mlog(ML_ERROR, "domain name length too long\n");
goto leave;
Expand Down

0 comments on commit dd73057

Please sign in to comment.