tmpfs: switch to use of invalfc()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
58c025f0e8
commit
f35aa2bc80
@ -3475,9 +3475,9 @@ static int shmem_parse_one(struct fs_context *fc, struct fs_parameter *param)
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
unsupported_parameter:
|
unsupported_parameter:
|
||||||
return invalf(fc, "tmpfs: Unsupported parameter '%s'", param->key);
|
return invalfc(fc, "Unsupported parameter '%s'", param->key);
|
||||||
bad_value:
|
bad_value:
|
||||||
return invalf(fc, "tmpfs: Bad value for '%s'", param->key);
|
return invalfc(fc, "Bad value for '%s'", param->key);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int shmem_parse_options(struct fs_context *fc, void *data)
|
static int shmem_parse_options(struct fs_context *fc, void *data)
|
||||||
@ -3583,7 +3583,7 @@ static int shmem_reconfigure(struct fs_context *fc)
|
|||||||
return 0;
|
return 0;
|
||||||
out:
|
out:
|
||||||
spin_unlock(&sbinfo->stat_lock);
|
spin_unlock(&sbinfo->stat_lock);
|
||||||
return invalf(fc, "tmpfs: %s", err);
|
return invalfc(fc, "%s", err);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int shmem_show_options(struct seq_file *seq, struct dentry *root)
|
static int shmem_show_options(struct seq_file *seq, struct dentry *root)
|
||||||
|
Loading…
Reference in New Issue
Block a user