mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Signed-off-by: Trond Myklebust <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
a63ecd835f
commit
77a63f3d1e
2 changed files with 6 additions and 5 deletions
|
|
@ -1454,11 +1454,6 @@ out_mark_dirty:
|
|||
return ret;
|
||||
}
|
||||
#else
|
||||
int nfs_commit_inode(struct inode *inode, int how)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int nfs_commit_unstable_pages(struct inode *inode, struct writeback_control *wbc)
|
||||
{
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue