--- zzzz-none-000/linux-2.6.19.2/fs/autofs4/waitq.c 2007-01-10 19:10:37.000000000 +0000 +++ davinci-8020-5505/linux-2.6.19.2/fs/autofs4/waitq.c 2007-01-11 07:38:19.000000000 +0000 @@ -41,8 +41,10 @@ wake_up_interruptible(&wq->queue); wq = nwq; } - fput(sbi->pipe); /* Close the pipe */ - sbi->pipe = NULL; + if (sbi->pipe) { + fput(sbi->pipe); /* Close the pipe */ + sbi->pipe = NULL; + } } static int autofs4_write(struct file *file, const void *addr, int bytes)