[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 08/12] nfsd: fix error handling in op_remove
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 08/12] nfsd: fix error handling in op_remove |
Date: |
Wed, 20 Nov 2013 23:52:27 +0100 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Justus Winter, le Wed 20 Nov 2013 14:38:01 +0100, a écrit :
> Found using the Clang Static Analyzer.
>
> * nfsd/ops.c (op_remove): Fix error handling.
Ack.
> ---
> nfsd/ops.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/nfsd/ops.c b/nfsd/ops.c
> index d503290..6e2cbb1 100644
> --- a/nfsd/ops.c
> +++ b/nfsd/ops.c
> @@ -398,7 +398,7 @@ op_remove (struct cache_handle *c,
> err = dir_unlink (c->port, name);
> free (name);
>
> - return 0;
> + return err;
> }
>
> static error_t
> --
> 1.7.10.4
>
--
Samuel
>bah moi j'aime bien le flash et je cherche plus a comprendre
>crosoft. Ca plante : je reinstalle
Ca à le mérite de créer des emplois jeunes : "réinstalleur de crosoft"
-+- BD in NPC : Bill Gates au secours de l'emploi -+-
- Re: [PATCH 03/12] libps: fix the length computation in fprint_frac_value, (continued)
- [PATCH 06/12] fatfs: fix error handling in diskfs_get_directs, Justus Winter, 2013/11/20
- [PATCH 07/12] ftpfs: fix error handling in refresh_dir, Justus Winter, 2013/11/20
- [PATCH 12/12] libshouldbeinlibc: fix error handling in maptime_map, Justus Winter, 2013/11/20
- [PATCH 09/12] usermux: actually use the computed flags value in netfs_attempt_utimes, Justus Winter, 2013/11/20
- [PATCH 08/12] nfsd: fix error handling in op_remove, Justus Winter, 2013/11/20
- Re: [PATCH 08/12] nfsd: fix error handling in op_remove,
Samuel Thibault <=
- [PATCH 10/12] libshouldbeinlibc: fix dead initialization in fmt_named_interval, Justus Winter, 2013/11/20
- [PATCH 11/12] mach-defpager: drop all register qualifiers, Justus Winter, 2013/11/20