Re: [PATCH 2/3] NFS support for btrfs - v2

2008-08-13 Thread David Woodhouse
On Tue, 2008-08-12 at 14:51 -0400, Christoph Hellwig wrote: On Tue, Aug 12, 2008 at 02:46:46PM +0100, David Woodhouse wrote: +static inline struct dentry *d_obtain_alias(struct inode *inode) +{ + struct dentry *d = d_alloc_anon(inode); + if (!d) + iput(inode); + return

Re: [PATCH 2/3] NFS support for btrfs - v2

2008-08-12 Thread Christoph Hellwig
On Tue, Aug 12, 2008 at 02:46:46PM +0100, David Woodhouse wrote: +static inline struct dentry *d_obtain_alias(struct inode *inode) +{ + struct dentry *d = d_alloc_anon(inode); + if (!d) + iput(inode); + return d; +} +#endif I'm not sure when al wants to merge with