Re: [PATCH] mm: Release a semaphore in 'get_vaddr_frames()'

2017-12-10 Thread Christophe JAILLET
Le 10/12/2017 à 10:45, Michal Hocko a écrit : On Sat 09-12-17 08:09:41, Christophe JAILLET wrote: A semaphore is acquired before this check, so we must release it before leaving. Fixes: b7f0554a56f2 ("mm: fail get_vaddr_frames() for filesystem-dax mappings") Signed-off-by: Christophe JAILLET -

Re: [PATCH] mm: Release a semaphore in 'get_vaddr_frames()'

2017-12-10 Thread Michal Hocko
On Sat 09-12-17 08:09:41, Christophe JAILLET wrote: > A semaphore is acquired before this check, so we must release it before > leaving. > > Fixes: b7f0554a56f2 ("mm: fail get_vaddr_frames() for filesystem-dax > mappings") > Signed-off-by: Christophe JAILLET > --- > -- Untested -- > > The wordi

[PATCH] mm: Release a semaphore in 'get_vaddr_frames()'

2017-12-08 Thread Christophe JAILLET
A semaphore is acquired before this check, so we must release it before leaving. Fixes: b7f0554a56f2 ("mm: fail get_vaddr_frames() for filesystem-dax mappings") Signed-off-by: Christophe JAILLET --- -- Untested -- The wording of the commit entry and log description could be improved but I didn't