summaryrefslogtreecommitdiffstats
path: root/drivers/nfc
diff options
context:
space:
mode:
authorLukas Czerner <lczerner@redhat.com>2018-10-02 21:18:45 -0400
committerTheodore Ts'o <tytso@mit.edu>2018-10-02 21:18:45 -0400
commit625ef8a3acd111d5f496d190baf99d1a815bd03e (patch)
tree1c182c8a21b3d9fa3eb8d362b17f147dfbc015e2 /drivers/nfc
parent18aded17492088962ef43f00825179598b3e8c58 (diff)
downloadlinux-625ef8a3acd111d5f496d190baf99d1a815bd03e.tar.bz2
ext4: initialize retries variable in ext4_da_write_inline_data_begin()
Variable retries is not initialized in ext4_da_write_inline_data_begin() which can lead to nondeterministic number of retries in case we hit ENOSPC. Initialize retries to zero as we do everywhere else. Signed-off-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Fixes: bc0ca9df3b2a ("ext4: retry allocation when inline->extent conversion failed") Cc: stable@kernel.org
Diffstat (limited to 'drivers/nfc')
0 files changed, 0 insertions, 0 deletions