Skip to content
Commit 9751b338 authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

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: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent 3e9d4c59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment