Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207546
b: refs/heads/master
c: d3b4f9a
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Aug 9, 2010
1 parent 68279af commit 20d1756
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: d299eadc098743ea0cfbf9502fb04abf1d39ce36
refs/heads/master: d3b4f9ae184b0a3982dbe000ddf88952f090dc28
8 changes: 4 additions & 4 deletions trunk/fs/smbfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

#define SMB_TTL_DEFAULT 1000

static void smb_delete_inode(struct inode *);
static void smb_evict_inode(struct inode *);
static void smb_put_super(struct super_block *);
static int smb_statfs(struct dentry *, struct kstatfs *);
static int smb_show_options(struct seq_file *, struct vfsmount *);
Expand Down Expand Up @@ -102,7 +102,7 @@ static const struct super_operations smb_sops =
.alloc_inode = smb_alloc_inode,
.destroy_inode = smb_destroy_inode,
.drop_inode = generic_delete_inode,
.delete_inode = smb_delete_inode,
.evict_inode = smb_evict_inode,
.put_super = smb_put_super,
.statfs = smb_statfs,
.show_options = smb_show_options,
Expand Down Expand Up @@ -324,15 +324,15 @@ smb_revalidate_inode(struct dentry *dentry)
* All blocking cleanup operations need to go here to avoid races.
*/
static void
smb_delete_inode(struct inode *ino)
smb_evict_inode(struct inode *ino)
{
DEBUG1("ino=%ld\n", ino->i_ino);
truncate_inode_pages(&ino->i_data, 0);
end_writeback(ino);
lock_kernel();
if (smb_close(ino))
PARANOIA("could not close inode %ld\n", ino->i_ino);
unlock_kernel();
clear_inode(ino);
}

static struct option opts[] = {
Expand Down

0 comments on commit 20d1756

Please sign in to comment.