]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
gfs2_atomic_open(): simplify the use of finish_no_open()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 19 Nov 2014 02:10:23 +0000 (21:10 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 19 Nov 2014 17:57:21 +0000 (12:57 -0500)
commit845409b49bcc8fe2ad9f1a948cc4f54c301b742d
tree511718e15cfec9c0809ba838f9e48dccd5772baf
parent81295ce635a83f052497656348e9edc794b4cae6
gfs2_atomic_open(): simplify the use of finish_no_open()

In ->atomic_open(inode, dentry, file, opened) calling finish_no_open(file, NULL)
is equivalent to dget(dentry); return finish_no_open(file, dentry);

No need to open-code that...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/gfs2/inode.c