]> 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)
commit679b25fea9ff16e88ef92517866bcff93802403e
treef473a370543927ec2ebf1a462d165fc08c1515d3
parent6ef985a09bf9dae03f56ddc4bb058f5694ceeb52
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