]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/befs/linuxvfs.c
befs: avoid dereferencing dentry twice
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Fri, 1 Jul 2016 00:07:30 +0000 (01:07 +0100)
committerLuis de Bethencourt <luisbg@osg.samsung.com>
Sat, 8 Oct 2016 09:01:15 +0000 (10:01 +0100)
commitf7769f9cf95fa1a63eea81f13126f8fe7f708dc1
treef786327fb04e85f0758569254708b936101cf973
parent39dcfd3b3448e03a77cd918a918cdea5d84d6076
befs: avoid dereferencing dentry twice

No need to dereference dentry twice to get the name when we already have
it stored in a local variable.

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
fs/befs/linuxvfs.c