]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit156c3f5879bfe9e18ea15cdf5d321e072cd69a50
treee7079a5312d548e807c2f0fc68cccd44c421db42
parent401dbc3f0787708962729681f73a424e3ebc6f9e
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