diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2022-09-24 07:00:00 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2022-09-24 07:00:00 +0200 |
commit | 9751b338656f05a0ce918befd5118fcd970c71c6 (patch) | |
tree | e90b595737b1ff86227f37d9b44c211063659af3 /fs/efivarfs | |
parent | 3e9d4c593558ea86f49e10e62373a54c7f5a63e4 (diff) | |
download | linux-9751b338656f05a0ce918befd5118fcd970c71c6.tar.gz linux-9751b338656f05a0ce918befd5118fcd970c71c6.tar.bz2 linux-9751b338656f05a0ce918befd5118fcd970c71c6.zip |
vfs: move open right after ->tmpfile()
Create a helper finish_open_simple() that opens the file with the original
dentry. Handle the error case here as well to simplify callers.
Call this helper right after ->tmpfile() is called.
Next patch will change the tmpfile API and move this call into tmpfile
instances.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/efivarfs')
0 files changed, 0 insertions, 0 deletions