Commit ce163918 authored by Al Viro's avatar Al Viro

inotify_handle_event(): don't bother with strlen()

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent e43e9c33
......@@ -89,7 +89,7 @@ int inotify_handle_event(struct fsnotify_group *group,
return 0;
}
if (file_name) {
len = strlen(file_name->name);
len = file_name->len;
alloc_len += len + 1;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment