summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/lpt_commit.c
diff options
context:
space:
mode:
authorHugh Dickins <hugh@veritas.com>2009-02-08 20:56:58 +0000
committerLinus Torvalds <torvalds@linux-foundation.org>2009-02-08 13:53:28 -0800
commitd5b562330ec766292a3ac54ae5e0673610bd5b3d (patch)
treea0e10b64c1f7264efd073bbb0d93011c2064730f /fs/ubifs/lpt_commit.c
parent8e4921515c1a379539607eb443d51c30f4f7f338 (diff)
downloadop-kernel-dev-d5b562330ec766292a3ac54ae5e0673610bd5b3d.zip
op-kernel-dev-d5b562330ec766292a3ac54ae5e0673610bd5b3d.tar.gz
mm: fix error case in mlock downgrade reversion
Commit 27421e211a39784694b597dbf35848b88363c248, Manually revert "mlock: downgrade mmap sem while populating mlocked regions", has introduced its own regression: __mlock_vma_pages_range() may report an error (for example, -EFAULT from trying to lock down pages from beyond EOF), but mlock_vma_pages_range() must hide that from its callers as before. Reported-by: Sami Farin <safari-kernel@safari.iki.fi> Signed-off-by: Hugh Dickins <hugh@veritas.com> Cc: stable@kernel.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ubifs/lpt_commit.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud