Re: [PATCH] NFS: Fix a typo in include/linux/nfs_fs.h

From: Ingo Molnar
Date: Sun Aug 01 2010 - 15:32:51 EST



* Trond Myklebust <Trond.Myklebust@xxxxxxxxxx> 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@xxxxxxx>
> Signed-off-by: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/