summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-05-22 17:39:45 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2017-07-13 16:56:22 -0700
commit6dbf9cbf28ab6e5134ad1a3f2fc1ba4c9e195be0 (patch)
tree6f2c25bed242cc7dfc9569ee4b0c0e637a0ef959 /tools/perf/scripts/python
parentf4afd85fc4212df5b75ab8e261214b41f0eb8007 (diff)
f2fs: don't bother checking for encryption key in ->write_iter()
Since only an open file can be written to, and we only allow open()ing an encrypted file when its key is available, there is no need to check for the key again before permitting each ->write_iter(). This code was also broken in that it wouldn't actually have failed if the key was in fact unavailable. Signed-off-by: Eric Biggers <ebiggers@google.com> Reviewed-by: David Gstir <david@sigma-star.at> Acked-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions