]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: softdirty: don't forget to save file map softdiry bit on unmap
authorCyrill Gorcunov <gorcunov@openvz.org>
Wed, 14 May 2014 00:01:37 +0000 (10:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 14 May 2014 00:01:37 +0000 (10:01 +1000)
commitb9bec7af0718d7b6354aee2831670b8608d1f557
tree3e5921687777f4de90761be81c3a26b9a5799c35
parent34c97bcba497e3221dab2d13c7140fbb84f01f53
mm: softdirty: don't forget to save file map softdiry bit on unmap

pte_file_mksoft_dirty operates with argument passed by a value and returns
modified result thus we need to assign @ptfile here, otherwise itis a no-op
which may lead to loss of the softdirty bit.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/rmap.c