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
nexedi
linux
Commits
b57ce969
Commit
b57ce969
authored
Feb 12, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vfs: drop_file_write_access() made static
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
8de52778
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
fs/file_table.c
fs/file_table.c
+1
-2
include/linux/file.h
include/linux/file.h
+0
-1
No files found.
fs/file_table.c
View file @
b57ce969
...
...
@@ -204,7 +204,7 @@ EXPORT_SYMBOL(alloc_file);
* to write to @file, along with access to write through
* its vfsmount.
*/
void
drop_file_write_access
(
struct
file
*
file
)
static
void
drop_file_write_access
(
struct
file
*
file
)
{
struct
vfsmount
*
mnt
=
file
->
f_path
.
mnt
;
struct
dentry
*
dentry
=
file
->
f_path
.
dentry
;
...
...
@@ -219,7 +219,6 @@ void drop_file_write_access(struct file *file)
mnt_drop_write
(
mnt
);
file_release_write
(
file
);
}
EXPORT_SYMBOL_GPL
(
drop_file_write_access
);
/* the real guts of fput() - releasing the last reference to file
*/
...
...
include/linux/file.h
View file @
b57ce969
...
...
@@ -12,7 +12,6 @@
struct
file
;
extern
void
fput
(
struct
file
*
);
extern
void
drop_file_write_access
(
struct
file
*
file
);
struct
file_operations
;
struct
vfsmount
;
...
...
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