]> git.baikalelectronics.ru Git - kernel.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)
commit6ec7f159e90f5d8a1a04197581c7887b98ba7df1
treef473a370543927ec2ebf1a462d165fc08c1515d3
parent07a2b633099f83dbe17d56190e3d303cc8322776
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