Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207571
b: refs/heads/master
c: 94ee849
h: refs/heads/master
i:
  207569: 6c1fdf5
  207567: 4f00bae
v: v3
  • Loading branch information
Al Viro committed Aug 9, 2010
1 parent 9f42217 commit 7cfe223
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3aac2b62e0f345c8a637cf94dc62e9000de9d8b6
refs/heads/master: 94ee8494ac84606f06d522a2c016d40aabffb378
12 changes: 6 additions & 6 deletions trunk/fs/ncpfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 7cfe223

Please sign in to comment.