]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix a typo in include/linux/nfs_fs.h
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 1 Aug 2010 17:40:40 +0000 (13:40 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 1 Aug 2010 22:10:01 +0000 (15:10 -0700)
commitf4666ab4bcdc34e193b6f7d8e7acb4284867c4da
treef08c0c2dab44348919ec296254c3cc39d34e9f85
parentf2aaeda56fe1d196485f5fde8f25823ac9f9ed47
NFS: Fix a typo in include/linux/nfs_fs.h

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>
fs/nfs/write.c
include/linux/nfs_fs.h