Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simon Ruderich
passt-mac
Commits
abf5ea47
Commit
abf5ea47
authored
Apr 11, 2016
by
Lukas Braun
Committed by
Simon Ruderich
Aug 29, 2016
Browse files
slsm: passtfs: add missing statics
parent
ed565b37
Changes
1
Hide whitespace changes
Inline
Side-by-side
security/slsm/passtfs.c
View file @
abf5ea47
...
...
@@ -20,7 +20,7 @@ static struct dentry *passtfs_dir;
static
struct
dentry
*
passtfs_profiles
;
int
profiles_open
(
struct
inode
*
inode
,
struct
file
*
file
)
static
int
profiles_open
(
struct
inode
*
inode
,
struct
file
*
file
)
{
struct
passtfs_privdata
*
pd
=
kzalloc
(
sizeof
(
*
pd
),
GFP_KERNEL
);
if
(
!
pd
)
...
...
@@ -73,7 +73,7 @@ out:
*
* Return value is returned by close(2)
*/
int
profiles_flush
(
struct
file
*
file
,
fl_owner_t
id
)
static
int
profiles_flush
(
struct
file
*
file
,
fl_owner_t
id
)
{
struct
passtfs_privdata
*
pd
=
file
->
private_data
;
int
ret
=
0
;
...
...
@@ -93,7 +93,7 @@ int profiles_flush(struct file *file, fl_owner_t id)
*
* Return value is ignored.
*/
int
profiles_release
(
struct
inode
*
inode
,
struct
file
*
file
)
static
int
profiles_release
(
struct
inode
*
inode
,
struct
file
*
file
)
{
struct
passtfs_privdata
*
pd
=
file
->
private_data
;
BUG_ON
(
!
pd
);
...
...
Write
Preview
Supports
Markdown
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