| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 1/5] xfs: clean up xfs_inactive |
| From: | Rich Johnston <rjohnston@xxxxxxx> |
| Date: | Thu, 26 Jul 2012 10:30:56 -0500 |
| Cc: | <xfs@xxxxxxxxxxx> |
| In-reply-to: | <20120704151443.077344815@xxxxxxxxxxxxxxxxxxxxxx> |
| References: | <20120704151328.928543446@xxxxxxxxxxxxxxxxxxxxxx> <20120704151443.077344815@xxxxxxxxxxxxxxxxxxxxxx> |
| User-agent: | Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
On 07/04/2012 10:13 AM, Christoph Hellwig wrote: As stated this patch cleans up duplicate code and removed local helper function. Looks good.The code to reserve log space and join the inode to the transaction is common for all cases, so don't duplicate it. Also remove the trivial xfs_inactive_symlink_local helper which can simply be opencode now. Signed-off-by: Christoph Hellwig <hch@xxxxxx> --- fs/xfs/xfs_vnodeops.c | 171 ++++++++++++-------------------------------------- 1 file changed, 43 insertions(+), 128 deletions(-) Reviewed-by: Rich Johnston <rjohnston@xxxxxxx> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 0/5] do not take the iolock in inode reclaim context, Rich Johnston |
|---|---|
| Next by Date: | Re: [PATCH 2/5] xfs: remove xfs_inactive_attrs, Rich Johnston |
| Previous by Thread: | [PATCH 1/5] xfs: clean up xfs_inactive, Christoph Hellwig |
| Next by Thread: | Re: [PATCH 0/5] do not take the iolock in inode reclaim context, Sage Weil |
| Indexes: | [Date] [Thread] [Top] [All Lists] |