]> git.karo-electronics.de Git - karo-tx-linux.git/commit
get rid of useless dget_parent() in fs/btrfs/ioctl.c
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 17 Jul 2011 01:38:06 +0000 (21:38 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 21 Jul 2011 00:48:00 +0000 (20:48 -0400)
commit2fbe8c8ad176db69dfc682b4abb721c8fc19c3fd
treef473a370543927ec2ebf1a462d165fc08c1515d3
parent02c24a82187d5a628c68edfe71ae60dc135cd178
get rid of useless dget_parent() in fs/btrfs/ioctl.c

both callers there have dentry->d_parent stabilized by the fact that
their caller had obtained dentry from lookup_one_len() and had not
dropped ->i_mutex on parent since then.

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