mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
VFS: Rename do_fallocate() to vfs_fallocate()
This function needs to be exported so it can be used by the NFSD module when responding to the new ALLOCATE and DEALLOCATE operations in NFS v4.2. Christoph Hellwig suggested renaming the function to stay consistent with how other vfs functions are named. Signed-off-by: Anna Schumaker <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]>
This commit is contained in:
parent
9af94fc4e4
commit
72c72bdf7b
5 changed files with 7 additions and 6 deletions
|
|
@ -443,7 +443,7 @@ int ioctl_preallocate(struct file *filp, void __user *argp)
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
return do_fallocate(filp, FALLOC_FL_KEEP_SIZE, sr.l_start, sr.l_len);
|
||||
return vfs_fallocate(filp, FALLOC_FL_KEEP_SIZE, sr.l_start, sr.l_len);
|
||||
}
|
||||
|
||||
static int file_ioctl(struct file *filp, unsigned int cmd,
|
||||
|
|
|
|||
Loading…
Reference in a new issue