]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - fs/nfs/nfs42.h
Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-bionic-kernel.git] / fs / nfs / nfs42.h
CommitLineData
1c6dcbe5
AS
1/*
2 * Copyright (c) 2014 Anna Schumaker <Anna.Schumaker@Netapp.com>
3 */
4
5#ifndef __LINUX_FS_NFS_NFS4_2_H
6#define __LINUX_FS_NFS_NFS4_2_H
7
be3a5d23
TM
8/*
9 * FIXME: four LAYOUTSTATS calls per compound at most! Do we need to support
10 * more? Need to consider not to pre-alloc too much for a compound.
11 */
12#define PNFS_LAYOUTSTATS_MAXDEV (4)
13
1c6dcbe5 14/* nfs4.2proc.c */
f4ac1674 15int nfs42_proc_allocate(struct file *, loff_t, loff_t);
624bd5b7 16int nfs42_proc_deallocate(struct file *, loff_t, loff_t);
1c6dcbe5 17loff_t nfs42_proc_llseek(struct file *, loff_t, int);
be3a5d23
TM
18int nfs42_proc_layoutstats_generic(struct nfs_server *,
19 struct nfs42_layoutstat_data *);
e5341f3a 20int nfs42_proc_clone(struct file *, struct file *, loff_t, loff_t, loff_t);
1c6dcbe5
AS
21
22#endif /* __LINUX_FS_NFS_NFS4_2_H */