]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
f2fs: avoid memory allocation failure due to a long length
authorJaegeuk Kim <jaegeuk@kernel.org>
Sun, 17 Jul 2016 04:59:22 +0000 (21:59 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 18 Jul 2016 17:20:44 +0000 (10:20 -0700)
commit363cad7f7e586b385c20e9925b4923683d46deb6
tree80a44b09f64c7b5a9a077d5d4397eaf358b6c688
parentdcf25fe8fcf4e68057d02e453e7ccf93fa1d1071
f2fs: avoid memory allocation failure due to a long length

We need to avoid ENOMEM due to unexpected long length.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c