OSDN Git Service

ANDROID: sdcardfs: remove unnecessary call to do_munmap
authorDaniel Rosenberg <drosen@google.com>
Fri, 10 Mar 2017 05:14:45 +0000 (21:14 -0800)
committerAmit Pundir <amit.pundir@linaro.org>
Tue, 14 Aug 2018 12:17:11 +0000 (17:47 +0530)
commit971b4452f0fbef52188a4ed9115f18707603a6d7
treeef4736a3b53754942b4594990d250e3c210902fb
parent606830278d82b10f5ff4d62470b7fb0d86b16b61
ANDROID: sdcardfs: remove unnecessary call to do_munmap

Adapted from wrapfs
commit 5be6de9ecf02 ("Wrapfs: use vm_munmap in ->mmap")
commit 2c9f6014a8bb ("Wrapfs: remove unnecessary call
to vm_unmap in ->mmap")

Code is unnecessary and causes deadlocks in newer kernels.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug: 35766959
Change-Id: Ia252d60c60799d7e28fc5f1f0f5b5ec2430a2379
fs/sdcardfs/file.c