diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-06-20 15:53:49 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-06-29 11:46:47 -0400 |
commit | a8d8f02cf0c379693762107afe812b9e52090e39 (patch) | |
tree | 85a9f40330bc059df32ecc38b10171d0b45e63fb /fs/nfs/nfs4_fs.h | |
parent | 57208fa7e51ca16cd68de8e8bf482f16b06d3ea1 (diff) | |
download | blackbird-op-linux-a8d8f02cf0c379693762107afe812b9e52090e39.tar.gz blackbird-op-linux-a8d8f02cf0c379693762107afe812b9e52090e39.zip |
NFS: Create custom NFS v4 write_inode() function
This gives pnfs a chance to do a layout commit inside the v4 code.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r-- | fs/nfs/nfs4_fs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index a0be2d1af04b..3696ca7f5f4d 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h @@ -202,6 +202,9 @@ struct nfs4_state_maintenance_ops { extern const struct dentry_operations nfs4_dentry_operations; extern const struct inode_operations nfs4_dir_inode_operations; +/* write.c */ +int nfs4_write_inode(struct inode *, struct writeback_control *); + /* nfs4namespace.c */ rpc_authflavor_t nfs_find_best_sec(struct nfs4_secinfo_flavors *); struct rpc_clnt *nfs4_create_sec_client(struct rpc_clnt *, struct inode *, struct qstr *); |