nfsd: remove /proc/fs/nfs when create /proc/fs/nfs/exports error
authorfanchaoting <fanchaoting@cn.fujitsu.com>
Wed, 27 Mar 2013 08:31:18 +0000 (16:31 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 3 Apr 2013 19:30:07 +0000 (15:30 -0400)
commitff7c4b3693cbc7e938f49ed89e2f649a33f03ed1
treee7079a5312d548e807c2f0fc68cccd44c421db42
parentb022032e195ffca83d7002d6b84297d796ed443b
nfsd: remove /proc/fs/nfs when create /proc/fs/nfs/exports error

when create /proc/fs/nfs/exports error, we should remove /proc/fs/nfs,
if don't do it, it maybe cause Memory leak.

Signed-off-by: fanchaoting <fanchaoting@cn.fujitsu.com>
Reviewed-by: chendt.fnst <chendt.fnst@cn.fujitsu.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfsctl.c