Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64340
b: refs/heads/master
c: fbcb759
h: refs/heads/master
v: v3
  • Loading branch information
Eric Van Hensbergen committed Aug 23, 2007
1 parent 1b64db5 commit 8262ada
Show file tree
Hide file tree
Showing 3 changed files with 1 addition 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: 27a2a5ff41e366290adb89adcc9e70e6a9e81455
refs/heads/master: fbcb7599e411309cf47a2b834d3546469c153cf4
17 changes: 0 additions & 17 deletions trunk/fs/9p/fid.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,23 +92,6 @@ struct p9_fid *v9fs_fid_lookup(struct dentry *dentry)
return fid;
}

struct p9_fid *v9fs_fid_lookup_remove(struct dentry *dentry)
{
struct p9_fid *fid;
struct v9fs_dentry *dent;

dent = dentry->d_fsdata;
fid = v9fs_fid_lookup(dentry);
if (!IS_ERR(fid)) {
spin_lock(&dent->lock);
list_del(&fid->dlist);
spin_unlock(&dent->lock);
}

return fid;
}


/**
* v9fs_fid_clone - lookup the fid for a dentry, clone a private copy and
* release it
Expand Down
1 change: 0 additions & 1 deletion trunk/fs/9p/fid.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@ struct v9fs_dentry {
};

struct p9_fid *v9fs_fid_lookup(struct dentry *dentry);
struct p9_fid *v9fs_fid_lookup_remove(struct dentry *dentry);
struct p9_fid *v9fs_fid_clone(struct dentry *dentry);
int v9fs_fid_add(struct dentry *dentry, struct p9_fid *fid);

0 comments on commit 8262ada

Please sign in to comment.