From: Miao Xie Date: Thu, 28 Feb 2013 10:01:15 +0000 (+0000) Subject: Btrfs: remove unnecessary dget_parent/dput when creating the pending snapshot X-Git-Tag: v3.9-rc1~17^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9662f701c85ebc99f532bf8bb53208c0648846a;p=pandora-kernel.git Btrfs: remove unnecessary dget_parent/dput when creating the pending snapshot Since we have grabbed the parent inode at the beginning of the snapshot creation, and both sync and async snapshot creation release it after the pending snapshots are actually created, it is safe to access the parent inode directly during the snapshot creation, we needn't use dget_parent/dput to fix the parent dentry and get the dir inode. Signed-off-by: Miao Xie Signed-off-by: Josef Bacik --- Reading git-diff-tree failed