projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-4.5-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
[deliverable/linux.git]
/
fs
/
filesystems.c
diff --git
a/fs/filesystems.c
b/fs/filesystems.c
index 5797d45a78cb29fddcff617a8fc03139ed609369..c5618db110be454781d6c7b8a70f8284fa00a477 100644
(file)
--- a/
fs/filesystems.c
+++ b/
fs/filesystems.c
@@
-46,9
+46,9
@@
void put_filesystem(struct file_system_type *fs)
static struct file_system_type **find_filesystem(const char *name, unsigned len)
{
struct file_system_type **p;
static struct file_system_type **find_filesystem(const char *name, unsigned len)
{
struct file_system_type **p;
- for (p
=&file_systems; *p; p=
&(*p)->next)
- if (str
len((*p)->name) == len
&&
-
strncmp((*p)->name, name, len) == 0
)
+ for (p
= &file_systems; *p; p =
&(*p)->next)
+ if (str
ncmp((*p)->name, name, len) == 0
&&
+
!(*p)->name[len]
)
break;
return p;
}
break;
return p;
}
This page took
0.026207 seconds
and
5
git commands to generate.