ANDROID: Incremental fs: Fix compound page usercopy crash
Bug: 153560805
Test: incfs_test passes on qemu and Pixel 4
Signed-off-by: Paul Lawrence <paullawrence@google.com>
Change-Id: I1b55341e4e4247a74f3f539b9d190fef0ca409b8
Git-commit: 580b23c95a
Git-repo: https://android.googlesource.com/kernel/common/
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
This commit is contained in:
committed by
Blagovest Kolenichev
parent
46c1f3f598
commit
67b3fcb242
@@ -507,7 +507,8 @@ int incfs_get_filled_blocks(struct data_file *df,
|
||||
return 0;
|
||||
}
|
||||
|
||||
bme = kzalloc(sizeof(*bme) * READ_BLOCKMAP_ENTRIES, GFP_NOFS);
|
||||
bme = kzalloc(sizeof(*bme) * READ_BLOCKMAP_ENTRIES,
|
||||
GFP_NOFS | __GFP_COMP);
|
||||
if (!bme)
|
||||
return -ENOMEM;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user