Commit ce163918 authored by Al Viro's avatar Al Viro
Browse files

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



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent e43e9c33
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}