Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are a raw update to a vanilla kernel 4.1.10, with the
[kvmfornfv.git]
/
kernel
/
fs
/
hfs
/
super.c
diff --git
a/kernel/fs/hfs/super.c
b/kernel/fs/hfs/super.c
index
eee7206
..
410b65e
100644
(file)
--- a/
kernel/fs/hfs/super.c
+++ b/
kernel/fs/hfs/super.c
@@
-135,9
+135,9
@@
static int hfs_show_options(struct seq_file *seq, struct dentry *root)
struct hfs_sb_info *sbi = HFS_SB(root->d_sb);
if (sbi->s_creator != cpu_to_be32(0x3f3f3f3f))
struct hfs_sb_info *sbi = HFS_SB(root->d_sb);
if (sbi->s_creator != cpu_to_be32(0x3f3f3f3f))
- seq_
printf(seq, ",creator=%.4s", (char *)&sbi->s_creator
);
+ seq_
show_option_n(seq, "creator", (char *)&sbi->s_creator, 4
);
if (sbi->s_type != cpu_to_be32(0x3f3f3f3f))
if (sbi->s_type != cpu_to_be32(0x3f3f3f3f))
- seq_
printf(seq, ",type=%.4s", (char *)&sbi->s_type
);
+ seq_
show_option_n(seq, "type", (char *)&sbi->s_type, 4
);
seq_printf(seq, ",uid=%u,gid=%u",
from_kuid_munged(&init_user_ns, sbi->s_uid),
from_kgid_munged(&init_user_ns, sbi->s_gid));
seq_printf(seq, ",uid=%u,gid=%u",
from_kuid_munged(&init_user_ns, sbi->s_uid),
from_kgid_munged(&init_user_ns, sbi->s_gid));