| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | Re: [PATCH] xfs: fix race while discarding buffers |
| From: | Carlos Maiolino <cmaiolino@xxxxxxxxxx> |
| Date: | Mon, 6 Aug 2012 12:48:04 -0300 |
| In-reply-to: | <1344266797-7749-1-git-send-email-cmaiolino@xxxxxxxxxx> |
| Mail-followup-to: | xfs@xxxxxxxxxxx |
| References: | <1344266797-7749-1-git-send-email-cmaiolino@xxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
Please, ignore this patch.
I've made a mistake on this patch, and I'm sending a V2 patch to fix the
error signed below:
> fs/xfs/xfs_buf.c | 7 ++++++-
> fs/xfs/xfs_buf.h | 7 ++++++-
> 2 files changed, 12 insertions(+), 2 deletions(-)
>
> diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c
> index d7a9dd7..52b27c4 100644
> --- a/fs/xfs/xfs_buf.c
> +++ b/fs/xfs/xfs_buf.c
> @@ -96,6 +96,8 @@ xfs_buf_lru_add(
> atomic_inc(&bp->b_hold);
> list_add_tail(&bp->b_lru, &btp->bt_lru);
> btp->bt_lru_nr++;
> + if (bp->b_lru_flags & XBF_LRU_DISPOSE)
^^^^^^
This should be if (!(b_lru_flags & XBF_LRU_DISPOSE))
I'm sending the V2 patch. Sorry about that.
--
--Carlos
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] xfs: fix race while discarding buffers, Carlos Maiolino |
|---|---|
| Next by Date: | [PATCH] xfs: fix race while discarding buffers [V2], Carlos Maiolino |
| Previous by Thread: | [PATCH] xfs: fix race while discarding buffers, Carlos Maiolino |
| Next by Thread: | [PATCH] xfs: fix race while discarding buffers [V2], Carlos Maiolino |
| Indexes: | [Date] [Thread] [Top] [All Lists] |