Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96892
b: refs/heads/master
c: 31f31db
h: refs/heads/master
v: v3
  • Loading branch information
Jan Blunck authored and Trond Myklebust committed May 16, 2008
1 parent 37c5554 commit 5a9f6b8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 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: 3110ff8048fb757b36112b044b384aea9c44d6e4
refs/heads/master: 31f31db1a15671513df9cd9fbe56ef45ee1e9a2a
3 changes: 1 addition & 2 deletions trunk/fs/nfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -541,8 +541,7 @@ static void __put_nfs_open_context(struct nfs_open_context *ctx, int wait)
}
if (ctx->cred != NULL)
put_rpccred(ctx->cred);
dput(ctx->path.dentry);
mntput(ctx->path.mnt);
path_put(&ctx->path);
kfree(ctx);
}

Expand Down
3 changes: 1 addition & 2 deletions trunk/fs/nfs/namespace.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ static void * nfs_follow_mountpoint(struct dentry *dentry, struct nameidata *nd)
goto out_follow;
goto out_err;
}
mntput(nd->path.mnt);
dput(nd->path.dentry);
path_put(&nd->path);
nd->path.mnt = mnt;
nd->path.dentry = dget(mnt->mnt_root);
schedule_delayed_work(&nfs_automount_task, nfs_mountpoint_expiry_timeout);
Expand Down
6 changes: 2 additions & 4 deletions trunk/fs/nfs/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,7 @@ static void nfs4_opendata_free(struct kref *kref)
nfs4_put_open_state(p->state);
nfs4_put_state_owner(p->owner);
dput(p->dir);
dput(p->path.dentry);
mntput(p->path.mnt);
path_put(&p->path);
kfree(p);
}

Expand Down Expand Up @@ -1210,8 +1209,7 @@ static void nfs4_free_closedata(void *data)
nfs4_put_open_state(calldata->state);
nfs_free_seqid(calldata->arg.seqid);
nfs4_put_state_owner(sp);
dput(calldata->path.dentry);
mntput(calldata->path.mnt);
path_put(&calldata->path);
kfree(calldata);
}

Expand Down

0 comments on commit 5a9f6b8

Please sign in to comment.