summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-12-09 14:10:01 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2020-01-21 04:12:41 +0300
commitf6075c79074378910e131bbebc9d1dab53fd9986 (patch)
tree1940350c9ba18ed956b9c94db8e398edf5398777 /tools/perf/scripts/python/bin
parentae5df41390eb1c40b9a5c220673d8c31a4cb57db (diff)
downloadlinux-f6075c79074378910e131bbebc9d1dab53fd9986.tar.xz
fs/adfs: dir: improve update failure handling
When we update a directory, a number of errors may happen. If we failed to find the entry to update, we can just release the directory buffers as normal. However, if we have some other error, we may have partially updated the buffers, resulting in an invalid directory. In this case, we need to discard the buffers to avoid writing the contents back to the media, and later re-read the directory from the media. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions