Re: [2.6 patch] unexport sys_{open,read}

From: Christoph Hellwig
Date: Mon Jan 28 2008 - 19:30:29 EST


On Tue, Jan 29, 2008 at 12:10:40AM +0200, Adrian Bunk wrote:
> Now that they are unused we can finally unexport sys_{open,read}.
>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

Linus. any reason this is not in?

>
> fs/open.c | 1 -
> fs/read_write.c | 1 -
> 2 files changed, 2 deletions(-)
>
> eb86553917b5d7dc5c22e584145360ad0460372e
> diff --git a/fs/open.c b/fs/open.c
> index 4932b4d..21acf85 100644
> --- a/fs/open.c
> +++ b/fs/open.c
> @@ -1061,7 +1061,6 @@ asmlinkage long sys_open(const char __user *filename, int flags, int mode)
> prevent_tail_call(ret);
> return ret;
> }
> -EXPORT_UNUSED_SYMBOL_GPL(sys_open); /* To be deleted for 2.6.25 */
>
> asmlinkage long sys_openat(int dfd, const char __user *filename, int flags,
> int mode)
> diff --git a/fs/read_write.c b/fs/read_write.c
> index c4d3d17..af2c82f 100644
> --- a/fs/read_write.c
> +++ b/fs/read_write.c
> @@ -366,7 +366,6 @@ asmlinkage ssize_t sys_read(unsigned int fd, char __user * buf, size_t count)
>
> return ret;
> }
> -EXPORT_UNUSED_SYMBOL_GPL(sys_read); /* to be deleted for 2.6.25 */
>
> asmlinkage ssize_t sys_write(unsigned int fd, const char __user * buf, size_t count)
> {
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
---end quoted text---
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/