From: Jeff Layton Date: Thu, 2 Aug 2012 18:30:56 +0000 (-0400) Subject: nfs: tear down caches in nfs_init_writepagecache when allocation fails X-Git-Tag: v3.2.29~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c52f6cc5d3e4dcb9167448614338a25a31573484;p=pandora-kernel.git nfs: tear down caches in nfs_init_writepagecache when allocation fails commit 3dd4765fce04c0b4af1e0bc4c0b10f906f95fabc upstream. ...and ensure that we tear down the nfs_commit_data cache too when unloading the module. Cc: Bryan Schumaker Signed-off-by: Jeff Layton Signed-off-by: Trond Myklebust [bwh: Backported to 3.2: drop the nfs_cdata_cachep cleanup; it doesn't exist] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed