diff options
author | Theodore Ts'o <tytso@mit.edu> | 2020-05-07 10:50:28 -0700 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-06-03 23:16:51 -0400 |
commit | 73c384c0cdaa8ea9ca9ef2d0cff6a25930f1648e (patch) | |
tree | db5d95382a581d9abbafba3b303b947f30bde502 /mm | |
parent | 08adf452e628b0e2ce9a01048cfbec52353703d7 (diff) |
ext4: avoid ext4_error()'s caused by ENOMEM in the truncate path
We can't fail in the truncate path without requiring an fsck.
Add work around for this by using a combination of retry loops
and the __GFP_NOFAIL flag.
From: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Anna Pendleton <pendleton@google.com>
Reviewed-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com>
Link: https://lore.kernel.org/r/20200507175028.15061-1-pendleton@google.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions