aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2023-07-01 20:11:34 +0300
committerChristian Brauner <brauner@kernel.org>2023-07-02 13:15:49 +0200
commitdff745c1221a402b4921d54f292288373cff500c (patch)
treee2245a005ed20bc43bce3d6c621fa710cb902758 /tools/perf/scripts/python/export-to-postgresql.py
parentMerge tag 'csky-for-linus-6.5' of https://github.com/c-sky/csky-linux (diff)
downloadwireguard-linux-dff745c1221a402b4921d54f292288373cff500c.tar.xz
wireguard-linux-dff745c1221a402b4921d54f292288373cff500c.zip
fs: move cleanup from init_file() into its callers
The use of file_free_rcu() in init_file() to free the struct that was allocated by the caller was hacky and we got what we deserved. Let init_file() and its callers take care of cleaning up each after their own allocated resources on error. Fixes: 62d53c4a1dfe ("fs: use backing_file container for internal files with "fake" f_path") # mainline only Reported-and-tested-by: syzbot+ada42aab05cf51b00e98@syzkaller.appspotmail.com Signed-off-by: Amir Goldstein <amir73il@gmail.com> Message-Id: <20230701171134.239409-1-amir73il@gmail.com> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions