Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42503
b: refs/heads/master
c: a99b71c
h: refs/heads/master
i:
  42501: 28ff2ef
  42499: 20c18fd
  42495: cdaad9d
v: v3
  • Loading branch information
Frank Filz authored and Trond Myklebust committed Dec 6, 2006
1 parent 4618a52 commit ac6a44a
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6d5fcb5a52bfd00eab3ba2c7ca890823388436ae
refs/heads/master: a99b71c9c43499bf2312c64f5c1d367aaf559dc4
6 changes: 0 additions & 6 deletions trunk/fs/nfs/direct.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,7 @@ static ssize_t nfs_direct_read_schedule(struct nfs_direct_req *dreq, unsigned lo

data->task.tk_cookie = (unsigned long) inode;

lock_kernel();
rpc_execute(&data->task);
unlock_kernel();

dfprintk(VFS, "NFS: %5u initiated direct read call (req %s/%Ld, %zu bytes @ offset %Lu)\n",
data->task.tk_pid,
Expand Down Expand Up @@ -475,9 +473,7 @@ static void nfs_direct_commit_schedule(struct nfs_direct_req *dreq)

dprintk("NFS: %5u initiated commit call\n", data->task.tk_pid);

lock_kernel();
rpc_execute(&data->task);
unlock_kernel();
}

static void nfs_direct_write_complete(struct nfs_direct_req *dreq, struct inode *inode)
Expand Down Expand Up @@ -641,9 +637,7 @@ static ssize_t nfs_direct_write_schedule(struct nfs_direct_req *dreq, unsigned l
data->task.tk_priority = RPC_PRIORITY_NORMAL;
data->task.tk_cookie = (unsigned long) inode;

lock_kernel();
rpc_execute(&data->task);
unlock_kernel();

dfprintk(VFS, "NFS: %5u initiated direct write call (req %s/%Ld, %zu bytes @ offset %Lu)\n",
data->task.tk_pid,
Expand Down
2 changes: 0 additions & 2 deletions trunk/fs/nfs/read.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,7 @@ static void nfs_execute_read(struct nfs_read_data *data)
sigset_t oldset;

rpc_clnt_sigmask(clnt, &oldset);
lock_kernel();
rpc_execute(&data->task);
unlock_kernel();
rpc_clnt_sigunmask(clnt, &oldset);
}

Expand Down
2 changes: 0 additions & 2 deletions trunk/fs/nfs/write.c
Original file line number Diff line number Diff line change
Expand Up @@ -991,9 +991,7 @@ static void nfs_execute_write(struct nfs_write_data *data)
sigset_t oldset;

rpc_clnt_sigmask(clnt, &oldset);
lock_kernel();
rpc_execute(&data->task);
unlock_kernel();
rpc_clnt_sigunmask(clnt, &oldset);
}

Expand Down

0 comments on commit ac6a44a

Please sign in to comment.