linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Btrfs: fix dentry->d_parent abuses V2
@ 2010-11-19 20:36 Josef Bacik
  2010-11-19 20:36 ` [PATCH 1/3] Btrfs: use dget_parent where we can Josef Bacik
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Josef Bacik @ 2010-11-19 20:36 UTC (permalink / raw)
  To: linux-btrfs

Christoph pointed out that my original d_parent cleanup patch was big and hard
to review since it really did 3 seperate things. The cleanup is broke up like
this

1) For places we have to use dentry->d_parent, use dget_parent/dput
2) For places where we already have the parent inode anyway, use that instead
3) A small safety fix for btrfs_log_dentry_safe

These patches make up the original patch that I posted, and have been tested
with xfstests, and have been in my tree for 2 weeks with all of the other work
I've been doing and have survived fine.  Thanks,

Josef

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-11-20  9:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-19 20:36 Btrfs: fix dentry->d_parent abuses V2 Josef Bacik
2010-11-19 20:36 ` [PATCH 1/3] Btrfs: use dget_parent where we can Josef Bacik
2010-11-20  9:48   ` [PATCH] Btrfs: use dget_parent where we can UPDATED Josef Bacik
2010-11-19 20:36 ` [PATCH 2/3] Btrfs: hold i_mutex when calling btrfs_log_dentry_safe Josef Bacik
2010-11-19 20:36 ` [PATCH 3/3] Btrfs: make btrfs_add_nondir take parent inode as an argument Josef Bacik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).