commit | 21ac738ede0b49004b53b4a44fe3df7bb4a78280 | [log] [tgz] |
---|---|---|
author | Chengguang Xu <cgxu519@gmx.com> | Sun Jul 29 15:51:54 2018 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Jul 29 15:51:54 2018 -0400 |
tree | ed972023ca57033a550f2d2a36a0d5cfea51ddaf | |
parent | 7f144fd046d967ff2fbba59203b42b888ad5aae7 [diff] |
ext4: check allocation failure when duplicating "data" in ext4_remount() There is no check for allocation failure when duplicating "data" in ext4_remount(). Check for failure and return error -ENOMEM in this case. Signed-off-by: Chengguang Xu <cgxu519@gmx.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Andreas Dilger <adilger@dilger.ca>