NFSv4: Fix an oops in nfs4_fill_super
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:48 +0000 (13:44 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:48 +0000 (13:44 -0500)
commit01d0ae8beaee75d954900109619b700fe68707d9
tree06180b83f10e0008db9f6bfa6a5fa420bf568ebe
parentd9f6eb75d4900782a095b98470decfe98971f920
NFSv4: Fix an oops in nfs4_fill_super

The mount statistics patches introduced a call to nfs_free_iostats that is
not only redundant, but actually causes an oops.

Also fix a memory leak due to the lack of a call to nfs_free_iostats on
unmount.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/inode.c
fs/nfs/iostat.h