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
c6287315
Commit
c6287315
authored
Jun 04, 2010
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
generic_detach_inode() can be static now
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
2bbbda30
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
fs/inode.c
fs/inode.c
+1
-2
include/linux/fs.h
include/linux/fs.h
+0
-1
No files found.
fs/inode.c
View file @
c6287315
...
...
@@ -1234,7 +1234,7 @@ EXPORT_SYMBOL(generic_delete_inode);
*
* Returns 1 if inode should be completely destroyed.
*/
int
generic_detach_inode
(
struct
inode
*
inode
)
static
int
generic_detach_inode
(
struct
inode
*
inode
)
{
struct
super_block
*
sb
=
inode
->
i_sb
;
...
...
@@ -1264,7 +1264,6 @@ int generic_detach_inode(struct inode *inode)
spin_unlock
(
&
inode_lock
);
return
1
;
}
EXPORT_SYMBOL_GPL
(
generic_detach_inode
);
static
void
generic_forget_inode
(
struct
inode
*
inode
)
{
...
...
include/linux/fs.h
View file @
c6287315
...
...
@@ -2167,7 +2167,6 @@ extern ino_t iunique(struct super_block *, ino_t);
extern
int
inode_needs_sync
(
struct
inode
*
inode
);
extern
void
generic_delete_inode
(
struct
inode
*
inode
);
extern
void
generic_drop_inode
(
struct
inode
*
inode
);
extern
int
generic_detach_inode
(
struct
inode
*
inode
);
extern
struct
inode
*
ilookup5_nowait
(
struct
super_block
*
sb
,
unsigned
long
hashval
,
int
(
*
test
)(
struct
inode
*
,
void
*
),
...
...
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