+6
−3
+16
−4
+4
−1
+17
−4
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>