From: Ingo Molnar on

* Trond Myklebust <Trond.Myklebust(a)netapp.com> wrote:

> nfs_commit_inode() needs to be defined irrespectively of whether or not
> we are supporting NFSv3 and NFSv4.
> Allow the compiler to optimise away code in the NFSv2-only case by
> converting it into an inlined stub function.
>
> Reported-by: Ingo Molnar <mingo(a)elte.hu>
> Signed-off-by: Trond Myklebust <Trond.Myklebust(a)netapp.com>
> ---
> fs/nfs/write.c | 5 -----
> include/linux/nfs_fs.h | 6 ++++++
> 2 files changed, 6 insertions(+), 5 deletions(-)

I tested this patch too and it solves the problem (and doesnt introduce new
problems).

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/