NFS: Fix a typo in include/linux/nfs_fs.h
commitf6023962619f6a11e2921ba1d2e0cb9f829b1e72
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 1 Aug 2010 17:40:40 +0000 (1 13:40 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 17:54:06 +0000 (10 10:54 -0700)
treeeb663698d25163e6e69ce69f4b8c5c683980fb23
parent2feba60ecd830b7865e14ffda86d99cdbb265add
NFS: Fix a typo in include/linux/nfs_fs.h

commit 77a63f3d1e0a3e7ede8d10f569e8481b13ff47c5 upstream.

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-and-tested-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/nfs/write.c
include/linux/nfs_fs.h