]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r324074
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 11 Oct 2017 23:42:29 +0000 (23:42 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 11 Oct 2017 23:42:29 +0000 (23:42 +0000)
commit25c0513379ebf2aeaa2498aed737bcd7149dda5d
treea82fdbf99a5b37d1658bb95effad0481909a1b34
parent9b6ab2e7b32593415533d8972ca29f4e350dbfef
MFC: r324074
Fix a memory leak that occurred in the pNFS client.

When a "pnfs" NFSv4.1 mount was unmounted, it didn't free up the layouts
and deviceinfo structures. This leak only affects "pnfs" mounts and only
when the mount is umounted.
Found while testing the pNFS Flexible File layout client code.

git-svn-id: svn://svn.freebsd.org/base/stable/10@324545 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsclient/nfs_clstate.c