Re: [PATCH] nfs: fix kernel warning when removing proc entry

2014-08-16 Thread Dan Aloni
On Thu, Aug 14, 2014 at 03:49:39PM -0700, Cong Wang wrote: Signed-off-by: Cong Wang > --- > fs/nfs/client.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/nfs/client.c b/fs/nfs/client.c > index 1c5ff6d..1c57202 100644 > --- a/fs/nfs/client.c > +++ b/fs/nfs/client.c >

[PATCH] nfs: fix kernel warning when removing proc entry

2014-08-14 Thread Cong Wang
I saw the following kernel warning: [ 1852.321222] [ cut here ] [ 1852.326527] WARNING: CPU: 0 PID: 118 at fs/proc/generic.c:521 remove_proc_entry+0x154/0x16b() [ 1852.335630] remove_proc_entry: removing non-empty directory 'fs/nfsfs', leaking at least 'volumes' [ 1852.34