aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/nfs/pnfs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c
index c8d9b2148cb1..c17edfbbaebf 100644
--- a/fs/nfs/pnfs.c
+++ b/fs/nfs/pnfs.c
@@ -254,7 +254,6 @@ put_lseg_locked(struct pnfs_layout_segment *lseg,
254 /* List does not take a reference, so no need for put here */ 254 /* List does not take a reference, so no need for put here */
255 list_del_init(&lseg->pls_layout->plh_layouts); 255 list_del_init(&lseg->pls_layout->plh_layouts);
256 spin_unlock(&clp->cl_lock); 256 spin_unlock(&clp->cl_lock);
257 clear_bit(NFS_LAYOUT_BULK_RECALL, &lseg->pls_layout->plh_flags);
258 set_bit(NFS_LAYOUT_DESTROYED, &lseg->pls_layout->plh_flags); 257 set_bit(NFS_LAYOUT_DESTROYED, &lseg->pls_layout->plh_flags);
259 /* Matched by initial refcount set in alloc_init_layout_hdr */ 258 /* Matched by initial refcount set in alloc_init_layout_hdr */
260 put_layout_hdr_locked(lseg->pls_layout); 259 put_layout_hdr_locked(lseg->pls_layout);
@@ -754,7 +753,6 @@ pnfs_update_layout(struct inode *ino,
754 spin_lock(&clp->cl_lock); 753 spin_lock(&clp->cl_lock);
755 list_del_init(&lo->plh_layouts); 754 list_del_init(&lo->plh_layouts);
756 spin_unlock(&clp->cl_lock); 755 spin_unlock(&clp->cl_lock);
757 clear_bit(NFS_LAYOUT_BULK_RECALL, &lo->plh_flags);
758 } 756 }
759 spin_unlock(&ino->i_lock); 757 spin_unlock(&ino->i_lock);
760 } 758 }