| To: | Dave Chinner <david@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 06/13] xfs: xfs_sync_data is redundant. |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Tue, 2 Oct 2012 09:22:05 -0400 |
| Cc: | Brian Foster <bfoster@xxxxxxxxxx>, xfs@xxxxxxxxxxx |
| In-reply-to: | <20121002001021.GJ23520@dastard> |
| References: | <1348807485-20165-1-git-send-email-david@xxxxxxxxxxxxx> <1348807485-20165-7-git-send-email-david@xxxxxxxxxxxxx> <5069F9B0.50804@xxxxxxxxxx> <20121002001021.GJ23520@dastard> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Tue, Oct 02, 2012 at 10:10:22AM +1000, Dave Chinner wrote:
> diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h
> index da69c18..0ec7a46 100644
> --- a/fs/xfs/xfs_inode.h
> +++ b/fs/xfs/xfs_inode.h
> @@ -294,7 +294,7 @@ xfs_new_eof(struct xfs_inode *ip, xfs_fsize_t new_size)
> static inline void
> xfs_flush_inodes(struct xfs_inode *ip)
> {
> - writeback_inodes_sb_if_idle(VFS_I(ip)->i_sb, WB_REASON_FS_FREE_SPACE);
> + sync_inodes_sb(VFS_I(ip)->i_sb);
sync_inodes_sb needs s_umount held and asserts that, while our callers
usually won't have it.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH v3] xfstests: Use upstream version of fstrim instead of the local one, Tomas Racek |
|---|---|
| Next by Date: | RE: Why xfs_<utils> not 'readline' w/line-edit & history enabled?, Kinzel, David |
| Previous by Thread: | Re: [PATCH 06/13] xfs: xfs_sync_data is redundant., Dave Chinner |
| Next by Thread: | Re: [PATCH 06/13] xfs: xfs_sync_data is redundant., Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |