VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: David Howells <dhowells@redhat.com> 2009-04-23 16:41:13 +0100 committer: Linus Torvalds <torvalds@linux-foundation.org> 2009-04-24 13:28:31 -0700 commit: 84baf74bf23bbe9f3deafb5d2f27e2b5dc0bc052 parent: a5422a5111811401f7756345e4c237ff06cf6d1e
Commit Summary:
ROMFS: romfs_lookup() shouldn't be doing a partial name comparison
Diffstat:
1 file changed, 2 insertions, 2 deletions
diff --git a/fs/romfs/internal.h b/fs/romfs/internal.h
index 06044a9dc62d..95217b830118 100644
--- a/fs/romfs/internal.h
+++ b/fs/romfs/internal.h
@@ -43,5 +43,5 @@ extern int romfs_dev_read(struct super_block *sb, unsigned long pos,
 			  void *buf, size_t buflen);
 extern ssize_t romfs_dev_strnlen(struct super_block *sb,
 				 unsigned long pos, size_t maxlen);
-extern int romfs_dev_strncmp(struct super_block *sb, unsigned long pos,
-			     const char *str, size_t size);
+extern int romfs_dev_strcmp(struct super_block *sb, unsigned long pos,
+			    const char *str, size_t size);