lkml.org 
[lkml]   [2010]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@panasas.com>
> Signed-off-by: Benny Halevy <bhalevy@panasas.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);


\
 
 \ /
  Last update: 2010-09-13 21:07    [W:0.034 / U:0.840 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site