lkml.org 
[lkml]   [2011]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@redhat.com>
Acked-by: Jan Kara <jack@suse.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@suse.cz>
SUSE Labs, CR


\
 
 \ /
  Last update: 2011-11-28 15:19    [W:0.413 / U:16.112 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site