#if 0 v9fs_fid_lookup_remove()
PATCH 1/1 #if 0 v9fs_fid_lookup_remove()
This patch #if 0's the unused v9fs_fid_lookup_remove().
Signed-off-by Adrian Bunk <[email protected]>
---
This patch has been sent on:
- 29 Jul 2007
fs/9p/fid.c | 2 ++ fs/9p/fid.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-)
fs/9p/fid.h renamed from fs/9p/fid.h.old +0 -1
@@ -28,6 +28,5 @@ };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);
fs/9p/fid.c renamed from fs/9p/fid.c.old +2 -0
@@ -92,6 +92,7 @@return fid; } +#if 0 struct p9_fid *v9fs_fid_lookup_remove (struct dentry *dentry) {struct p9_fid *fid;
@@ -107,6 +108,7 @@ return fid; } +#endif /* 0 */ /**
Sorry- its in my merge queue, but I've been fighting other fires. Will try and get this regression tested and merged into v9fs-devel tomorrow afternoon along with a few other patches.
-eric
Quoted 42 lines · Adrian Bunk
This patch #if 0's the unused
v9fs_fid_lookup_remove().Signed-off-by Adrian Bunk <[email protected]>---
This patch has been sent on:
- 29 Jul 2007fs/9p/fid.c | 2 ++ fs/9p/fid.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-)fs/9p/fid.h 2007-07-26 13:22:07.000000000 +0200 renamed from fs/9p/fid.h.old 2007-07-26 13:22:00.000000000 +0200 +0
-1@@ -28,6 +28,5 @@ }; 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);fs/9p/fid.c 2007-07-26 13:22:40.000000000 +0200 renamed from fs/9p/fid.c.old 2007-07-26 13:22:22.000000000 +0200 +2
-0@@ -92,6 +92,7 @@ return fid; } +#if 0 struct p9_fid *v9fs_fid_lookup_remove(struct dentry *dentry) { struct p9_fid *fid;@@ -107,6 +108,7 @@ return fid; } +#endif /* 0 */ /**