android_kernel_oneplus_msm8998/fs/f2fs
Jaegeuk Kim e69d0248ef f2fs: check cap_resource only for data blocks
Cherry-pick from origin/upstream-f2fs-stable-linux-4.4.y:
commit f819874f58 ("f2fs: check cap_resource only for data blocks")

This patch changes the rule to check cap_resource for data blocks, not inode
or node blocks in order to avoid selinux denial.

Change-Id: I875d7ccf7cce7b833a1c11cb0eef0b504b823c4a
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2018-04-23 23:10:14 -07:00
..
acl.c f2fs: updates on 4.15-rc1 2017-11-27 13:08:17 -08:00
acl.h f2fs: backport from (4c1fad64 - Merge tag 'for-f2fs-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs) 2017-09-25 14:27:55 -07:00
checkpoint.c Revert "f2fs: introduce f2fs_set_page_dirty_nobuffer" 2018-04-23 23:09:36 -07:00
data.c Revert "f2fs: introduce f2fs_set_page_dirty_nobuffer" 2018-04-23 23:09:36 -07:00
debug.c f2fs: updates on v4.16-rc1 2018-02-22 19:19:42 +00:00
dir.c f2fs/fscrypt: updates to v4.17-rc1 2018-04-12 09:58:05 -07:00
extent_cache.c f2fs/fscrypt: updates to v4.17-rc1 2018-04-12 09:58:05 -07:00
f2fs.h f2fs: check cap_resource only for data blocks 2018-04-23 23:10:14 -07:00
file.c f2fs: refactor read path to allow multiple postprocessing steps 2018-04-20 22:30:46 -07:00
gc.c f2fs: refactor read path to allow multiple postprocessing steps 2018-04-20 22:30:46 -07:00
gc.h f2fs: updates on v4.16-rc1 2018-02-22 19:19:42 +00:00
hash.c f2fs: catch up to v4.14-rc1 2017-10-03 17:19:14 -07:00
inline.c f2fs: refactor read path to allow multiple postprocessing steps 2018-04-20 22:30:46 -07:00
inode.c f2fs/fscrypt: updates to v4.17-rc1 2018-04-12 09:58:05 -07:00
Kconfig f2fs: remove wrong backported codes 2017-10-03 13:35:15 +00:00
Makefile f2fs: catch up to v4.14-rc1 2017-10-03 17:19:14 -07:00
namei.c f2fs: call unlock_new_inode() before d_instantiate() 2018-04-20 22:30:46 -07:00
node.c Revert "f2fs: introduce f2fs_set_page_dirty_nobuffer" 2018-04-23 23:09:36 -07:00
node.h f2fs/fscrypt: updates to v4.17-rc1 2018-04-12 09:58:05 -07:00
recovery.c f2fs/fscrypt: updates to v4.17-rc1 2018-04-12 09:58:05 -07:00
segment.c f2fs/fscrypt: updates to v4.17-rc1 2018-04-12 09:58:05 -07:00
segment.h f2fs/fscrypt: updates to v4.17-rc1 2018-04-12 09:58:05 -07:00
shrinker.c f2fs: updates on 4.15-rc1 2017-11-27 13:08:17 -08:00
super.c f2fs: refactor read path to allow multiple postprocessing steps 2018-04-20 22:30:46 -07:00
sysfs.c f2fs/fscrypt: updates to v4.17-rc1 2018-04-12 09:58:05 -07:00
trace.c f2fs: updates on v4.16-rc1 2018-02-22 19:19:42 +00:00
trace.h f2fs: add sbi and page pointer in f2fs_io_info 2015-05-28 15:41:32 -07:00
xattr.c f2fs: updates on v4.16-rc1 2018-02-22 19:19:42 +00:00
xattr.h f2fs: catch up to v4.14-rc1 2017-10-03 17:19:14 -07:00