]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: tear down caches in nfs_init_writepagecache when allocation fails
authorJeff Layton <jlayton@redhat.com>
Thu, 2 Aug 2012 18:30:56 +0000 (14:30 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 2 Aug 2012 21:36:07 +0000 (17:36 -0400)
commitebae5cdffec5be238212ec3e4982d1ee109b91ae
tree3a96a96f548b7fd124f007e7c8118a0e1eaf6cce
parent94ffc4a9d2b01e99b9d4cc5c49988feaa1fbfb87
nfs: tear down caches in nfs_init_writepagecache when allocation fails

...and ensure that we tear down the nfs_commit_data cache too when
unloading the module.

Cc: Bryan Schumaker <bjschuma@netapp.com>
Cc: stable@vger.kernel.org
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/write.c