Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254041
b: refs/heads/master
c: 98ab494
h: refs/heads/master
i:
  254039: 5c4d5ee
v: v3
  • Loading branch information
Al Viro committed Jun 24, 2011
1 parent 44862af commit 24adf84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 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: 97d1152acec0647b72f8c6ecc57da0d6fed574de
refs/heads/master: 98ab494dd1d25388981114057cf9446250cc7dc7
19 changes: 1 addition & 18 deletions trunk/fs/cifs/cifsfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,30 +163,14 @@ cifs_read_super(struct super_block *sb)
if (inode)
iput(inode);

cifs_umount(cifs_sb);
return rc;
}

static void
cifs_put_super(struct super_block *sb)
{
int rc = 0;
struct cifs_sb_info *cifs_sb;

cFYI(1, "In cifs_put_super");
cifs_sb = CIFS_SB(sb);
if (cifs_sb == NULL) {
cFYI(1, "Empty cifs superblock info passed to unmount");
return;
}

cifs_umount(cifs_sb);
}

static void cifs_kill_sb(struct super_block *sb)
{
struct cifs_sb_info *cifs_sb = CIFS_SB(sb);
kill_anon_super(sb);
cifs_umount(cifs_sb);
kfree(cifs_sb->mountdata);
unload_nls(cifs_sb->local_nls);
kfree(cifs_sb);
Expand Down Expand Up @@ -537,7 +521,6 @@ static int cifs_drop_inode(struct inode *inode)
}

static const struct super_operations cifs_super_ops = {
.put_super = cifs_put_super,
.statfs = cifs_statfs,
.alloc_inode = cifs_alloc_inode,
.destroy_inode = cifs_destroy_inode,
Expand Down

0 comments on commit 24adf84

Please sign in to comment.