proc.c (57b8628bb0ac4e47c806e45c5bbd89282e93869b) proc.c (0b7c01533aa9f4a228d07d2768d084acb3a387bc)
1/*
2 * linux/fs/nfs/proc.c
3 *
4 * Copyright (C) 1992, 1993, 1994 Rick Sladkey
5 *
6 * OS-independent nfs remote procedure call functions
7 *
8 * Tuned by Alan Cox <A.Cox@swansea.ac.uk> for >3K buffers

--- 674 unchanged lines hidden (view full) ---

683 msg->rpc_proc = &nfs_procedures[NFSPROC_WRITE];
684}
685
686static void nfs_proc_write_rpc_prepare(struct rpc_task *task, struct nfs_write_data *data)
687{
688 rpc_call_start(task);
689}
690
1/*
2 * linux/fs/nfs/proc.c
3 *
4 * Copyright (C) 1992, 1993, 1994 Rick Sladkey
5 *
6 * OS-independent nfs remote procedure call functions
7 *
8 * Tuned by Alan Cox <A.Cox@swansea.ac.uk> for >3K buffers

--- 674 unchanged lines hidden (view full) ---

683 msg->rpc_proc = &nfs_procedures[NFSPROC_WRITE];
684}
685
686static void nfs_proc_write_rpc_prepare(struct rpc_task *task, struct nfs_write_data *data)
687{
688 rpc_call_start(task);
689}
690
691static void nfs_proc_commit_rpc_prepare(struct rpc_task *task, struct nfs_commit_data *data)
692{
693 BUG();
694}
695
691static void
696static void
692nfs_proc_commit_setup(struct nfs_write_data *data, struct rpc_message *msg)
697nfs_proc_commit_setup(struct nfs_commit_data *data, struct rpc_message *msg)
693{
694 BUG();
695}
696
697static int
698nfs_proc_lock(struct file *filp, int cmd, struct file_lock *fl)
699{
700 struct inode *inode = filp->f_path.dentry->d_inode;

--- 58 unchanged lines hidden (view full) ---

759 .decode_dirent = nfs2_decode_dirent,
760 .read_setup = nfs_proc_read_setup,
761 .read_rpc_prepare = nfs_proc_read_rpc_prepare,
762 .read_done = nfs_read_done,
763 .write_setup = nfs_proc_write_setup,
764 .write_rpc_prepare = nfs_proc_write_rpc_prepare,
765 .write_done = nfs_write_done,
766 .commit_setup = nfs_proc_commit_setup,
698{
699 BUG();
700}
701
702static int
703nfs_proc_lock(struct file *filp, int cmd, struct file_lock *fl)
704{
705 struct inode *inode = filp->f_path.dentry->d_inode;

--- 58 unchanged lines hidden (view full) ---

764 .decode_dirent = nfs2_decode_dirent,
765 .read_setup = nfs_proc_read_setup,
766 .read_rpc_prepare = nfs_proc_read_rpc_prepare,
767 .read_done = nfs_read_done,
768 .write_setup = nfs_proc_write_setup,
769 .write_rpc_prepare = nfs_proc_write_rpc_prepare,
770 .write_done = nfs_write_done,
771 .commit_setup = nfs_proc_commit_setup,
772 .commit_rpc_prepare = nfs_proc_commit_rpc_prepare,
767 .lock = nfs_proc_lock,
768 .lock_check_bounds = nfs_lock_check_bounds,
769 .close_context = nfs_close_context,
770 .init_client = nfs_init_client,
771};
773 .lock = nfs_proc_lock,
774 .lock_check_bounds = nfs_lock_check_bounds,
775 .close_context = nfs_close_context,
776 .init_client = nfs_init_client,
777};