ping

On Wed, 18 May 2016 12:14:50 +0100
bytevolc...@safe-mail.net wrote:

> My apologies for the noise; the previous one was the wrong revision
> (r1.126 instead of 1.127) because both patches look similar; here is
> the most recent catch:
> 
> Index: sys/dev/softraid_crypto.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/softraid_crypto.c,v
> retrieving revision 1.127
> diff -u -p -r1.127 softraid_crypto.c
> --- sys/dev/softraid_crypto.c 17 May 2016 19:28:59
> -0000 1.127 +++ sys/dev/softraid_crypto.c     18 May 2016
> 10:26:32 -0000 @@ -795,7 +795,7 @@ sr_crypto_read_key_disk(struct
> sr_discip sr_error(sc, "cannot open key disk %s", devname);
>               goto done;
>       }
> -     if (VOP_OPEN(vn, FREAD | FWRITE, NOCRED, curproc)) {
> +     if (VOP_OPEN(vn, FREAD, NOCRED, curproc)) {
>               DNPRINTF(SR_D_META,"%s: sr_crypto_read_key_disk
> cannot " "open %s\n", DEVNAME(sc), devname);
>               vput(vn);
> @@ -809,8 +809,6 @@ sr_crypto_read_key_disk(struct sr_discip
>           NOCRED, curproc)) {
>               DNPRINTF(SR_D_META, "%s: sr_crypto_read_key_disk
> ioctl " "failed\n", DEVNAME(sc));
> -             VOP_CLOSE(vn, FREAD | FWRITE, NOCRED, curproc);
> -             vput(vn);
>               goto done;
>       }
>       if (label.d_partitions[part].p_fstype != FS_RAID) {
> 

Reply via email to