]> 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)
commitfc9c00b8c4407d54b9161eb1bb42131fc9b1a0d9
tree3a96a96f548b7fd124f007e7c8118a0e1eaf6cce
parent325572b728f793b1a89cce83f47588b9b5fc8f7a
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