Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=fbcb7599e411309cf47a2b834d3546469c153cf4
Commit:     fbcb7599e411309cf47a2b834d3546469c153cf4
Parent:     27a2a5ff41e366290adb89adcc9e70e6a9e81455
Author:     Eric Van Hensbergen <[EMAIL PROTECTED]>
AuthorDate: Thu Aug 23 10:08:45 2007 -0500
Committer:  Eric Van Hensbergen <[EMAIL PROTECTED]>
CommitDate: Thu Aug 23 10:13:45 2007 -0500

    9p: remove deprecated v9fs_fid_lookup_remove()
    
    This patch removes the v9fs_fid_lookup_remove which is no longer used.
    
    Based on original patch from Adrian Bunk <[EMAIL PROTECTED]> which
    used #if 0 to isolate the code.
    
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Signed-off-by: Eric Van Hensbergen <[EMAIL PROTECTED]>
---
 fs/9p/fid.c |   17 -----------------
 fs/9p/fid.h |    1 -
 2 files changed, 0 insertions(+), 18 deletions(-)

diff --git a/fs/9p/fid.c b/fs/9p/fid.c
index 08fa320..15e05a1 100644
--- a/fs/9p/fid.c
+++ b/fs/9p/fid.c
@@ -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
diff --git a/fs/9p/fid.h b/fs/9p/fid.h
index 47a0ba7..26e07df 100644
--- a/fs/9p/fid.h
+++ b/fs/9p/fid.h
@@ -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);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to