ANDROID: sdcardfs: Change current->fs under lock

Adjusted from previous version to add missing include

bug: 111641492

Change-Id: I321d83f5d599efb3abdfaf2f3a4900ac512beca6
Reported-by: Jann Horn <jannh@google.com>
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Git-commit: f6d0920c41a732be06d284177311b57335227bd1
Git-repo: https://android.googlesource.com/kernel/common/
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
This commit is contained in:
Daniel Rosenberg 2018-07-20 16:11:40 -07:00 committed by codeworkx
parent f974075f8c
commit 86a3796176

View file

@ -21,6 +21,7 @@
#include "sdcardfs.h" #include "sdcardfs.h"
#include <linux/fs_struct.h> #include <linux/fs_struct.h>
#include <linux/ratelimit.h> #include <linux/ratelimit.h>
#include <linux/sched.h>
const struct cred *override_fsids(struct sdcardfs_sb_info *sbi, const struct cred *override_fsids(struct sdcardfs_sb_info *sbi,
struct sdcardfs_inode_data *data) struct sdcardfs_inode_data *data)