projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8a4ae3
)
NFSv4.1: remove pnfs_layout_hdr from pnfs_destroy_all_layouts tmp_list
author
Andy Adamson
<andros@netapp.com>
Wed, 11 May 2011 05:19:58 +0000
(
01:19
-0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 11 May 2011 18:20:13 +0000
(14:20 -0400)
Prevents an infinite loop as list was never emptied.
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/pnfs.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/pnfs.c
b/fs/nfs/pnfs.c
index ff681ab65d31f54654521e560b9cd5780db8318f..65455f58b10927d3c63551697d7de5b3b0068204 100644
(file)
--- a/
fs/nfs/pnfs.c
+++ b/
fs/nfs/pnfs.c
@@
-383,6
+383,7
@@
pnfs_destroy_all_layouts(struct nfs_client *clp)
plh_layouts);
dprintk("%s freeing layout for inode %lu\n", __func__,
lo->plh_inode->i_ino);
+ list_del_init(&lo->plh_layouts);
pnfs_destroy_layout(NFS_I(lo->plh_inode));
}
}