| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 6/9] xfs: use vfs inode nlink field everywhere |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Tue, 9 Feb 2016 06:47:33 +1100 |
| Cc: | xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20160208094021.GA4487@xxxxxxxxxxxxx> |
| References: | <1454905461-2773-1-git-send-email-david@xxxxxxxxxxxxx> <1454905461-2773-7-git-send-email-david@xxxxxxxxxxxxx> <20160208094021.GA4487@xxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Mon, Feb 08, 2016 at 01:40:21AM -0800, Christoph Hellwig wrote: > On Mon, Feb 08, 2016 at 03:24:18PM +1100, Dave Chinner wrote: > > From: Dave Chinner <dchinner@xxxxxxxxxx> > > > > The Vfs tracks the inodenlink just like the xfs_icdinode. We can > > s/Vfs/VFS/ > > > +STATIC int > > xfs_iunlink( > > - xfs_trans_t *tp, > > - xfs_inode_t *ip) > > + struct xfs_trans *tp, > > + struct xfs_inode *ip, > > + bool ignore_linkcount) > > I'd say kill the ignore_linkcount parameter and the assert depending on it. > There are just two callers: xfs_droplink checks for i_nlink just before > the call, and xfs_create_tmpfile has to set the override flag. Will do, I think I added that when trying to track down a busy inodes after unmount bug in this patch, and then never removed it again. Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx |
| Previous by Date: | Re: [PATCH 4/9] xfs: move v1 inode conversion to xfs_inode_from_disk, Dave Chinner |
|---|---|
| Next by Date: | Re: [PATCH 9/9] xfs: mode di_mode to vfs inode, Dave Chinner |
| Previous by Thread: | Re: [PATCH 6/9] xfs: use vfs inode nlink field everywhere, Christoph Hellwig |
| Next by Thread: | Re: [PATCH 6/9] xfs: use vfs inode nlink field everywhere, Brian Foster |
| Indexes: | [Date] [Thread] [Top] [All Lists] |