diff options
| author | Lianjun Huang <huanglianjun@vivo.com> | 2018-06-16 22:59:46 +0800 |
|---|---|---|
| committer | Daniel Rosenberg <drosen@google.com> | 2018-06-18 14:55:40 -0700 |
| commit | d4dfd3570598d6b0f269c8165d274ea1a43c1739 (patch) | |
| tree | 31bb146e2d7dd31a86cb7bdd58cada4b04f9e5c6 /net/lapb/lapb_in.c | |
| parent | 5f342079c2f2464de1a044ea212e96589e4cf22e (diff) | |
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>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
