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
94ee8494
Commit
94ee8494
authored
Jun 07, 2010
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
switch ncpfs to ->evict_inode()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
3aac2b62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
fs/ncpfs/inode.c
fs/ncpfs/inode.c
+6
-6
No files found.
fs/ncpfs/inode.c
View file @
94ee8494
...
...
@@ -43,7 +43,7 @@
#define NCP_DEFAULT_TIME_OUT 10
#define NCP_DEFAULT_RETRY_COUNT 20
static
void
ncp_
delete
_inode
(
struct
inode
*
);
static
void
ncp_
evict
_inode
(
struct
inode
*
);
static
void
ncp_put_super
(
struct
super_block
*
);
static
int
ncp_statfs
(
struct
dentry
*
,
struct
kstatfs
*
);
static
int
ncp_show_options
(
struct
seq_file
*
,
struct
vfsmount
*
);
...
...
@@ -100,7 +100,7 @@ static const struct super_operations ncp_sops =
.
alloc_inode
=
ncp_alloc_inode
,
.
destroy_inode
=
ncp_destroy_inode
,
.
drop_inode
=
generic_delete_inode
,
.
delete_inode
=
ncp_delete
_inode
,
.
evict_inode
=
ncp_evict
_inode
,
.
put_super
=
ncp_put_super
,
.
statfs
=
ncp_statfs
,
.
remount_fs
=
ncp_remount
,
...
...
@@ -282,19 +282,19 @@ ncp_iget(struct super_block *sb, struct ncp_entry_info *info)
}
static
void
ncp_
delete
_inode
(
struct
inode
*
inode
)
ncp_
evict
_inode
(
struct
inode
*
inode
)
{
truncate_inode_pages
(
&
inode
->
i_data
,
0
);
end_writeback
(
inode
);
if
(
S_ISDIR
(
inode
->
i_mode
))
{
DDPRINTK
(
"ncp_
delete
_inode: put directory %ld
\n
"
,
inode
->
i_ino
);
DDPRINTK
(
"ncp_
evict
_inode: put directory %ld
\n
"
,
inode
->
i_ino
);
}
if
(
ncp_make_closed
(
inode
)
!=
0
)
{
/* We can't do anything but complain. */
printk
(
KERN_ERR
"ncp_
delete
_inode: could not close
\n
"
);
printk
(
KERN_ERR
"ncp_
evict
_inode: could not close
\n
"
);
}
clear_inode
(
inode
);
}
static
void
ncp_stop_tasks
(
struct
ncp_server
*
server
)
{
...
...
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