summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@netapp.com>2014-11-07 19:44:25 (GMT)
committerJ. Bruce Fields <bfields@redhat.com>2014-11-07 21:17:44 (GMT)
commit72c72bdf7bf53353d2d8e055194d27f0128be92b (patch)
treecdca64b1d630c3b7d7c0d5fa9cb500aa9c3a9da6 /include
parent9af94fc4e470deab3427d07551725f0bf844ebc8 (diff)
downloadlinux-72c72bdf7bf53353d2d8e055194d27f0128be92b.tar.xz
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 <Anna.Schumaker@Netapp.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index a957d43..a887186 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2032,7 +2032,7 @@ struct filename {
extern long vfs_truncate(struct path *, loff_t);
extern int do_truncate(struct dentry *, loff_t start, unsigned int time_attrs,
struct file *filp);
-extern int do_fallocate(struct file *file, int mode, loff_t offset,
+extern int vfs_fallocate(struct file *file, int mode, loff_t offset,
loff_t len);
extern long do_sys_open(int dfd, const char __user *filename, int flags,
umode_t mode);