lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4C8E75D7.4010205@panasas.com>
Date:	Mon, 13 Sep 2010 21:04:55 +0200
From:	Benny Halevy <bhalevy@...asas.com>
To:	Jens Axboe <jaxboe@...ionio.com>
CC:	Benny Halevy <bhalevy@...asas.com>, Christoph Hellwig <hch@....de>,
	linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
	Boaz Harrosh <bharrosh@...asas.com>
Subject: Re: [PATCH] SQUASHME: pnfs-obj: fix REQ flags usage

Please ignore this patch, pilot error...
I'll send the right one momentarily.

Benny

On 2010-09-13 20:57, Benny Halevy wrote:
> fixes "pnfs-obj use REQ flags rather than BIO flags"
> 
> Cc: Boaz Harrosh <bharrosh@...asas.com>
> Signed-off-by: Benny Halevy <bhalevy@...asas.com>
> ---
>  fs/nfs/objlayout/objio_osd.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/fs/nfs/objlayout/objio_osd.c b/fs/nfs/objlayout/objio_osd.c
> index 223980b..75d5df4 100644
> --- a/fs/nfs/objlayout/objio_osd.c
> +++ b/fs/nfs/objlayout/objio_osd.c
> @@ -910,7 +910,7 @@ static int _write_mirrors(struct objio_state *ios, unsigned cur_comp)
>  		} else {
>  			bio = master_dev->bio;
>  			/* FIXME: bio_set_dir() */
> -			bio->bi_rw |= (1 << REQ_WRITE);
> +			bio->bi_rw |= REQ_WRITE;
>  		}
>  
>  		osd_req_write(or, &obj, per_dev->offset, bio, per_dev->length);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ