]> git.neil.brown.name Git - history.git/commit
[PATCH] kNFSd: Make sure export_open cleans up on failure.
authorNeil Brown <neilb@cse.unsw.edu.au>
Wed, 30 Oct 2002 08:24:22 +0000 (00:24 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Wed, 30 Oct 2002 08:24:22 +0000 (00:24 -0800)
commit988d8f66e1efc1d0c71cf131ac575478f5f49ccb
treedabfdeace8c5d05958dd74a91db97334997a39b4
parentb9d189e5d1f53709f1bc091a02819ad101bbbc75
[PATCH] kNFSd: Make sure export_open cleans up on failure.

Currently if the kmalloc in exports_open fails,
the seq_file isn't seq_released.

We now do the kmalloc first, and make sure to kfree
if seq_open fails.
fs/nfsd/nfsctl.c