Re: [PATCH 2/2 linux-next] udf: use kmap_atomic for memcpy copying

2017-04-24 Thread Jan Kara
On Sun 23-04-17 20:58:34, Fabian Frederick wrote: > Use temporary mapping for memory copying operations. > > To avoid any sleeping problem, > > mark_inode_dirty(inode) was moved after kunmap() in > udf_adinicb_readpage() > > down_write(&iinfo->i_data_sem) set before kmap_atomic() > in udf_expand

[PATCH 2/2 linux-next] udf: use kmap_atomic for memcpy copying

2017-04-23 Thread Fabian Frederick
Use temporary mapping for memory copying operations. To avoid any sleeping problem, mark_inode_dirty(inode) was moved after kunmap() in udf_adinicb_readpage() down_write(&iinfo->i_data_sem) set before kmap_atomic() in udf_expand_file_adinicb() Signed-off-by: Fabian Frederick --- This is untest