From 84d86e6d30593381aae1a0a7fd6f5368c91beaa0 Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Wed, 25 May 2016 12:46:47 +0200 Subject: ocfs: fix ocfs2_xattr_user_get() argument name Signed-off-by: Andreas Gruenbacher Signed-off-by: Jiri Kosina --- fs/ocfs2/xattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs') diff --git a/fs/ocfs2/xattr.c b/fs/ocfs2/xattr.c index ad16995c9e7a..aee4bb8a3ebe 100644 --- a/fs/ocfs2/xattr.c +++ b/fs/ocfs2/xattr.c @@ -7342,7 +7342,7 @@ const struct xattr_handler ocfs2_xattr_trusted_handler = { * 'user' attributes support */ static int ocfs2_xattr_user_get(const struct xattr_handler *handler, - struct dentry *unusde, struct inode *inode, + struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) { struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); -- cgit v1.2.3 From dcc381e8330e087402084647d048a168fb948e1c Mon Sep 17 00:00:00 2001 From: Zheng Lv Date: Mon, 20 Jun 2016 23:51:29 -0400 Subject: fat: fix typo s/supeblock/superblock/ Signed-off-by: Zheng Lv Signed-off-by: Jiri Kosina --- fs/fat/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs') diff --git a/fs/fat/inode.c b/fs/fat/inode.c index 3bcf57925dca..b902c89fa8b9 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c @@ -1589,7 +1589,7 @@ int fat_fill_super(struct super_block *sb, void *data, int silent, int isvfat, /* * GFP_KERNEL is ok here, because while we do hold the - * supeblock lock, memory pressure can't call back into + * superblock lock, memory pressure can't call back into * the filesystem, since we're only just about to mount * it and have no inodes etc active! */ -- cgit v1.2.3 From 34df117414d73cb56d128bf7016a4c151f95c313 Mon Sep 17 00:00:00 2001 From: Zheng Lv Date: Fri, 24 Jun 2016 01:31:00 -0400 Subject: fat: fix error message for bogus number of directory entries "bogus directory-entries per block" was reported for what was instead bogus number of directory entries. The message also mismatched the argument passed to printk(), which was sbi->dir_entries. Fix this by replacing the message with "bogus number of directory entries". printk() argument was kept unchanged. Signed-off-by: Zheng Lv Acked-by: OGAWA Hirofumi Signed-off-by: Jiri Kosina --- fs/fat/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs') diff --git a/fs/fat/inode.c b/fs/fat/inode.c index b902c89fa8b9..da04c0298fab 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c @@ -1726,7 +1726,7 @@ int fat_fill_super(struct super_block *sb, void *data, int silent, int isvfat, sbi->dir_entries = bpb.fat_dir_entries; if (sbi->dir_entries & (sbi->dir_per_block - 1)) { if (!silent) - fat_msg(sb, KERN_ERR, "bogus directory-entries per block" + fat_msg(sb, KERN_ERR, "bogus number of directory entries" " (%u)", sbi->dir_entries); goto out_invalid; } -- cgit v1.2.3