Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
f35aa2bc
Commit
f35aa2bc
authored
Dec 21, 2019
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tmpfs: switch to use of invalfc()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
58c025f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mm/shmem.c
mm/shmem.c
+3
-3
No files found.
mm/shmem.c
View file @
f35aa2bc
...
@@ -3475,9 +3475,9 @@ static int shmem_parse_one(struct fs_context *fc, struct fs_parameter *param)
...
@@ -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
invalf
c
(
fc
,
"
Unsupported parameter '%s'"
,
param
->
key
);
bad_value:
bad_value:
return
invalf
(
fc
,
"tmpfs:
Bad value for '%s'"
,
param
->
key
);
return
invalf
c
(
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)
...
@@ -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
invalf
c
(
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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment