lineage_android_kernel_sams.../fs
Lianjun Huang fc4daa87ec ANDROID: sdcardfs: fix potential crash when reserved_mb is not zero
sdcardfs_mkdir() calls check_min_free_space(). When reserved_mb is not zero, a negative dentry will be passed to
ext4_statfs() at last and ext4_statfs() will crash. The parent dentry is positive. So we use the parent dentry to
check free space.

Change-Id: I80ab9623fe59ba911f4cc9f0e029a1c6f7ee421b
Signed-off-by: Lianjun Huang <huanglianjun@vivo.com>
2018-10-04 08:38:06 +03:00
..
9p fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
adfs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
affs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
afs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
autofs4 fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
befs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
bfs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
btrfs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
cachefiles FS-Cache: Handle a write to the page immediately beyond the EOF marker 2018-09-17 11:08:07 +03:00
ceph fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
cifs Merge the linux-stable linux-3.4.y branch 2016-07-09 08:42:10 +08:00
coda fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
configfs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
cramfs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
crypto fscrypt: remove broken support for detecting keyring key revocation 2017-06-21 17:51:48 +02:00
debugfs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
devpts fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
dlm
ecryptfs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
efs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
exofs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
exportfs move d_rcu from overlapping d_child to overlapping d_alias 2015-04-14 17:33:58 +08:00
ext2 fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
ext3 fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
ext4 fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
f2fs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
fat fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
freevxfs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
fscache FS-Cache: Handle a write to the page immediately beyond the EOF marker 2018-09-17 11:08:07 +03:00
fuse ANDROID: fuse: Add null terminator to path in canonical path to avoid issue 2018-10-03 15:57:10 +03:00
gfs2 fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
hfs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
hfsplus fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
hostfs fs: create and use seq_show_option for escaping 2016-04-27 18:55:18 +08:00
hpfs hpfs: update ctime and mtime on directory modification 2016-04-27 18:55:17 +08:00
hppfs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
hugetlbfs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
isofs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
jbd
jbd2 jbd2: don't mark block as modified if the handle is out of credits 2018-10-02 10:26:43 +03:00
jffs2 fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
jfs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
lockd lockd: Try to reconnect if statd has moved 2015-02-02 17:04:42 +08:00
logfs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
minix fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
ncpfs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
nfs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
nfs_common
nfsd fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
nilfs2 fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
nls
notify vfs: Add permission2 for filesystems with per mount permissions 2018-10-03 15:42:02 +03:00
ntfs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
ocfs2 fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
omfs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
openpromfs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
proc proc: Allow proc_free_inum to be called from any context 2018-09-28 12:24:58 +03:00
pstore
qnx4 fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
qnx6 fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
quota
ramfs
reiserfs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
romfs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
sdcardfs ANDROID: sdcardfs: fix potential crash when reserved_mb is not zero 2018-10-04 08:38:06 +03:00
sdfat fs: sdfat: Update to version 2.0.8 2018-09-18 15:58:56 +03:00
squashfs
sysfs Merge remote-tracking branch 'korg/linux-3.4.y' into cm-11.0 2014-08-13 23:51:05 -05:00
sysv fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
ubifs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
udf udf: Check length of extended attributes and allocation descriptors 2015-09-18 09:20:45 +08:00
ufs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
xfs fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
yaffs2
Kconfig Included sdcardfs source code for kernel 3.0 2018-10-03 15:38:11 +03:00
Kconfig.binfmt
Makefile Included sdcardfs source code for kernel 3.0 2018-10-03 15:38:11 +03:00
aio.c BACKPORT: aio: mark AIO pseudo-fs noexec 2017-06-27 07:19:28 -05:00
anon_inodes.c
attr.c vfs: Add setattr2 for filesystems with per mount permissions 2018-10-03 15:42:11 +03:00
bad_inode.c
binfmt_aout.c
binfmt_elf.c binfmt_elf: Don't clobber passed executable's file header 2018-09-17 11:09:15 +03:00
binfmt_elf_fdpic.c
binfmt_em86.c
binfmt_flat.c
binfmt_misc.c fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
binfmt_script.c
binfmt_som.c
bio-integrity.c
bio.c block: Add submit_bio_wait(), remove from md 2016-07-09 09:33:44 +08:00
block_dev.c
buffer.c Merge the linux-stable linux-3.4.y branch 2016-07-09 08:42:10 +08:00
char_dev.c
compat.c fs: namespace: suppress 'may be used uninitialized' warnings 2018-09-28 12:31:17 +03:00
compat_binfmt_elf.c
compat_ioctl.c Merge remote-tracking branch 'korg/linux-3.4.y' into cm-11.0 2014-08-13 23:51:05 -05:00
dcache.c constify d_lookup() arguments 2018-10-03 15:43:05 +03:00
dcookies.c
direct-io.c
drop_caches.c
eventfd.c
eventpoll.c Merge remote-tracking branch 'korg/linux-3.4.y' into cm-11.0 2014-08-13 23:51:05 -05:00
exec.c vfs: Add permission2 for filesystems with per mount permissions 2018-10-03 15:42:02 +03:00
fcntl.c take purely descriptor-related stuff from fcntl.c to file.c 2018-09-18 15:59:31 +03:00
fhandle.c vfs: read file_handle only once in handle_to_path 2015-09-18 09:20:44 +08:00
fifo.c
file.c kill bogus BUG_ON() in do_close_on_exec() 2018-09-18 16:00:00 +03:00
file_table.c take fget() and friends to fs/file.c 2018-09-18 15:59:23 +03:00
filesystems.c fs: Limit sys_mount to only request filesystem modules. 2018-10-03 15:43:45 +03:00
fs-writeback.c writeback: Fix some comment errors 2018-10-03 15:41:26 +03:00
fs_struct.c sdcardfs: override umask on mkdir and create 2018-10-03 15:39:58 +03:00
generic_acl.c BACKPORT: posix_acl: Clear SGID bit when setting file permissions 2017-06-27 07:19:29 -05:00
inode.c fs: introduce inode operation ->update_time 2015-10-13 23:37:06 -05:00
internal.h vfs: Allow filesystems to access their private mount data 2018-10-03 15:41:29 +03:00
ioctl.c
ioprio.c Revert "block: fix use-after-free in sys_ioprio_get()" 2018-09-28 12:34:43 +03:00
libfs.c move d_rcu from overlapping d_child to overlapping d_alias 2015-04-14 17:33:58 +08:00
locks.c
mbcache.c
mount.h proc: Usable inode numbers for the namespace file descriptors. 2015-10-13 23:37:26 -05:00
mpage.c
namei.c ANDROID: vfs: Missed updating truncate to truncate2 2018-10-03 15:42:32 +03:00
namespace.c mnt: Add missing lock/unlock of namespace 2018-10-03 15:55:57 +03:00
no-block.c
open.c vfs: Add setattr2 for filesystems with per mount permissions 2018-10-03 15:42:11 +03:00
pipe.c consolidate pipe file creation 2018-09-18 15:59:33 +03:00
pnode.c ANDROID: mnt: Fix next_descendent 2018-10-03 15:55:13 +03:00
pnode.h ANDROID: mnt: remount should propagate to slaves of slaves 2018-10-03 15:42:40 +03:00
posix_acl.c BACKPORT: posix_acl: Clear SGID bit when setting file permissions 2017-06-27 07:19:29 -05:00
proc_namespace.c vfs: Allow filesystems to access their private mount data 2018-10-03 15:41:29 +03:00
read_write.c
read_write.h
readdir.c kernel: Only expose su when daemon is running 2017-05-16 07:40:28 -05:00
select.c Merge remote-tracking branch 'korg/linux-3.4.y' into cm-11.0 2014-08-13 23:51:05 -05:00
seq_file.c Merge remote-tracking branch 'caf/kk_2.7_rb1.43' into cm-11.0 2014-09-11 22:15:59 -05:00
signalfd.c
splice.c vfs: Avoid softlockups with sendfile(2) 2018-09-17 11:10:22 +03:00
stack.c
stat.c
statfs.c
super.c vfs: Allow filesystems to access their private mount data 2018-10-03 15:41:29 +03:00
sync.c writeback: Fix some comment errors 2018-10-03 15:41:26 +03:00
timerfd.c timerfd: Protect the might cancel mechanism proper 2018-09-18 16:01:51 +03:00
utimes.c vfs: Add setattr2 for filesystems with per mount permissions 2018-10-03 15:42:11 +03:00
xattr.c ANDROID: xattr: Pass EOPNOTSUPP to permission2 2018-10-03 15:56:39 +03:00
xattr_acl.c