Home
last modified time | relevance | path

Searched hist:"9751 b338" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/
H A Dnamei.c9751b338 Sat Sep 24 00:00:00 CDT 2022 Miklos Szeredi <mszeredi@redhat.com> 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>
/openbmc/linux/include/linux/
H A Dfs.h9751b338 Sat Sep 24 00:00:00 CDT 2022 Miklos Szeredi <mszeredi@redhat.com> 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>