]> git.karo-electronics.de Git - mv-sheeva.git/commit
NFS: Fix a page leak in nfs_do_filldir()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 20 Nov 2010 18:22:24 +0000 (13:22 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 22 Nov 2010 18:24:44 +0000 (13:24 -0500)
commite7c58e974a0318fcca5368e7b3570e10e9ae9028
treede7c5bf4d565ce0365af6fe1d82bd035deb37024
parent5c346854d8ce6ca91931f8fc9177934257a667d0
NFS: Fix a page leak in nfs_do_filldir()

nfs_do_filldir() must always free desc->page when it is done, otherwise
we end up leaking the page.

Also remove unused variable 'dentry'.

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