Message ID | 4DFF97C4.1050106@panasas.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c index d9ffaab..169fe92 100644 --- a/fs/nfs/pnfs.c +++ b/fs/nfs/pnfs.c @@ -905,7 +905,7 @@ pnfs_find_lseg(struct pnfs_layout_hdr *lo, dprintk("%s:Begin\n", __func__); assert_spin_locked(&lo->plh_inode->i_lock); - list_for_each_entry_reverse(lseg, &lo->plh_segs, pls_list) { + list_for_each_entry(lseg, &lo->plh_segs, pls_list) { if (test_bit(NFS_LSEG_VALID, &lseg->pls_flags) && is_matching_lseg(&lseg->pls_range, range)) { ret = get_lseg(lseg);