From ba228f9a6b4dedac094ef424ce8d6f0b15448541 Mon Sep 17 00:00:00 2001 From: fanchaoting Date: Wed, 27 Mar 2013 16:31:18 +0800 Subject: [PATCH] --- yaml --- r: 372181 b: refs/heads/master c: ff7c4b3693cbc7e938f49ed89e2f649a33f03ed1 h: refs/heads/master i: 372179: 492536ef671771743fc9cd8dc68366ccf9126a56 v: v3 --- [refs] | 2 +- trunk/fs/nfsd/nfsctl.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 679437c0874a..bf91fd8b5d40 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b022032e195ffca83d7002d6b84297d796ed443b +refs/heads/master: ff7c4b3693cbc7e938f49ed89e2f649a33f03ed1 diff --git a/trunk/fs/nfsd/nfsctl.c b/trunk/fs/nfsd/nfsctl.c index a830f33df3ef..68a4d320cd14 100644 --- a/trunk/fs/nfsd/nfsctl.c +++ b/trunk/fs/nfsd/nfsctl.c @@ -1111,8 +1111,10 @@ static int create_proc_exports_entry(void) return -ENOMEM; entry = proc_create("exports", 0, entry, &exports_proc_operations); - if (!entry) + if (!entry) { + remove_proc_entry("fs/nfs", NULL); return -ENOMEM; + } return 0; } #else /* CONFIG_PROC_FS */