dlm: fix dlm_dir_lookup() handling of too long names
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 26 Jan 2008 05:03:59 +0000 (00:03 -0500)
committerDavid Teigland <teigland@redhat.com>
Mon, 4 Feb 2008 07:30:19 +0000 (01:30 -0600)
commit043b19cdc081f586a8f4e1c93ce6c03b63c26284
tree11101abb0a5716c51ddae9bd7009718030efe510
parenta9cc9159281d44754f621f75d4efad0076b29db4
dlm: fix dlm_dir_lookup() handling of too long names

... those can happen and BUG() from DLM_ASSERT() in allocate_direntry() is
not a good way to handle them.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/dir.c