Re: [2.6 patch] #if 0 v9fs_fid_lookup_remove()

Eric Van Hensbergen
2007-08-15T03:08:53Z

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

On 8/14/07, Adrian Bunk <bunk@kernel.org> wrote:
> This patch #if 0's the unused v9fs_fid_lookup_remove().
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
>
> ---
>
> 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(-)
>
> --- linux-2.6.23-rc1-mm1/fs/9p/fid.h.old 2007-07-26 13:22:00.000000000 +0200
> +++ linux-2.6.23-rc1-mm1/fs/9p/fid.h 2007-07-26 13:22:07.000000000 +0200
> @@ -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);
> --- linux-2.6.23-rc1-mm1/fs/9p/fid.c.old 2007-07-26 13:22:22.000000000 +0200
> +++ linux-2.6.23-rc1-mm1/fs/9p/fid.c 2007-07-26 13:22:40.000000000 +0200
> @@ -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 */
>
>
> /**
>
>