From: Josef Bacik Date: Sat, 20 Nov 2010 09:48:00 +0000 (+0000) Subject: Btrfs: use dget_parent where we can UPDATED X-Git-Tag: v2.6.37-rc4~6^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a912213046ecb6511fdf35531a0c7de3de963c9;p=pandora-kernel.git Btrfs: use dget_parent where we can UPDATED There are lots of places where we do dentry->d_parent->d_inode without holding the dentry->d_lock. This could cause problems with rename. So instead we need to use dget_parent() and hold the reference to the parent as long as we are going to use it's inode and then dput it at the end. Signed-off-by: Josef Bacik Cc: raven@themaw.net Signed-off-by: Chris Mason --- Reading git-diff-tree failed