diff options
author | Josef Bacik <josef@redhat.com> | 2010-11-20 10:48:00 +0100 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2010-11-22 04:26:09 +0100 |
commit | 6a912213046ecb6511fdf35531a0c7de3de963c9 (patch) | |
tree | b745a07d0ad5c5bedf68c55739200093f9d96c1b /fs/btrfs/file.c | |
parent | Btrfs: fix more ESTALE problems with NFS (diff) | |
download | linux-6a912213046ecb6511fdf35531a0c7de3de963c9.tar.xz linux-6a912213046ecb6511fdf35531a0c7de3de963c9.zip |
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 <josef@redhat.com>
Cc: raven@themaw.net
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions