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
2220c5b0
Commit
2220c5b0
authored
Apr 24, 2018
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make xattr_getsecurity() static
many years overdue... Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
f6ddc161
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
fs/xattr.c
fs/xattr.c
+1
-2
include/linux/xattr.h
include/linux/xattr.h
+0
-1
No files found.
fs/xattr.c
View file @
2220c5b0
...
...
@@ -229,7 +229,7 @@ vfs_setxattr(struct dentry *dentry, const char *name, const void *value,
}
EXPORT_SYMBOL_GPL
(
vfs_setxattr
);
ssize_t
s
tatic
s
size_t
xattr_getsecurity
(
struct
inode
*
inode
,
const
char
*
name
,
void
*
value
,
size_t
size
)
{
...
...
@@ -254,7 +254,6 @@ xattr_getsecurity(struct inode *inode, const char *name, void *value,
out_noalloc:
return
len
;
}
EXPORT_SYMBOL_GPL
(
xattr_getsecurity
);
/*
* vfs_getxattr_alloc - allocate memory, if necessary, before calling getxattr
...
...
include/linux/xattr.h
View file @
2220c5b0
...
...
@@ -46,7 +46,6 @@ struct xattr {
size_t
value_len
;
};
ssize_t
xattr_getsecurity
(
struct
inode
*
,
const
char
*
,
void
*
,
size_t
);
ssize_t
__vfs_getxattr
(
struct
dentry
*
,
struct
inode
*
,
const
char
*
,
void
*
,
size_t
);
ssize_t
vfs_getxattr
(
struct
dentry
*
,
const
char
*
,
void
*
,
size_t
);
ssize_t
vfs_listxattr
(
struct
dentry
*
d
,
char
*
list
,
size_t
size
);
...
...
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