From bbdb9519690372a33c84e28f77b8fcc469a98997 Mon Sep 17 00:00:00 2001 From: Wei Yongjun Date: Wed, 5 Sep 2012 14:38:03 +0800 Subject: [PATCH] --- yaml --- r: 333187 b: refs/heads/master c: 4e266229dbb0782d91b75633322edd632794b86d h: refs/heads/master i: 333185: 1648afbeb062e999eae8a2c508a961e9272af320 333183: dd622752ce389f6305353fea363d77dbb5217da3 v: v3 --- [refs] | 2 +- trunk/fs/nfs/blocklayout/extents.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 2df87ce9deaf..d8654bdfa9fa 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 96c9eae638765c2bf2ca4f5a6325484f9bb69aa7 +refs/heads/master: 4e266229dbb0782d91b75633322edd632794b86d diff --git a/trunk/fs/nfs/blocklayout/extents.c b/trunk/fs/nfs/blocklayout/extents.c index 1f9a6032796b..9c3e117c3ed1 100644 --- a/trunk/fs/nfs/blocklayout/extents.c +++ b/trunk/fs/nfs/blocklayout/extents.c @@ -683,8 +683,7 @@ encode_pnfs_block_layoutupdate(struct pnfs_block_layout *bl, p = xdr_encode_hyper(p, lce->bse_length << SECTOR_SHIFT); p = xdr_encode_hyper(p, 0LL); *p++ = cpu_to_be32(PNFS_BLOCK_READWRITE_DATA); - list_del(&lce->bse_node); - list_add_tail(&lce->bse_node, &bl->bl_committing); + list_move_tail(&lce->bse_node, &bl->bl_committing); bl->bl_count--; count++; }