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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111128141600.GC6366@quack.suse.cz>
Date:	Mon, 28 Nov 2011 15:16:00 +0100
From:	Jan Kara <jack@...e.cz>
To:	Cong Wang <amwang@...hat.com>
Cc:	linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
	Jan Kara <jack@...e.cz>
Subject: Re: [PATCH 48/62] udf: remove the second argument of
 k[un]map_atomic()

On Sun 27-11-11 13:27:28, Cong Wang wrote:
> 
> Signed-off-by: Cong Wang <amwang@...hat.com>
  Acked-by: Jan Kara <jack@...e.cz>

										Honza

> ---
>  fs/udf/file.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/fs/udf/file.c b/fs/udf/file.c
> index d8ffa7c..95b8d91 100644
> --- a/fs/udf/file.c
> +++ b/fs/udf/file.c
> @@ -87,10 +87,10 @@ static int udf_adinicb_write_end(struct file *file,
>  	char *kaddr;
>  	struct udf_inode_info *iinfo = UDF_I(inode);
>  
> -	kaddr = kmap_atomic(page, KM_USER0);
> +	kaddr = kmap_atomic(page);
>  	memcpy(iinfo->i_ext.i_data + iinfo->i_lenEAttr + offset,
>  		kaddr + offset, copied);
> -	kunmap_atomic(kaddr, KM_USER0);
> +	kunmap_atomic(kaddr);
>  
>  	return simple_write_end(file, mapping, pos, len, copied, page, fsdata);
>  }
> -- 
> 1.7.4.4
> 
-- 
Jan Kara <jack@...e.cz>
SUSE Labs, CR
--
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