git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
fs
/
smbfs
/
smbiod.c
diff --git
a/fs/smbfs/smbiod.c
b/fs/smbfs/smbiod.c
index
e675404
..
89eaf31
100644
(file)
--- a/
fs/smbfs/smbiod.c
+++ b/
fs/smbfs/smbiod.c
@@
-152,7
+152,7
@@
int smbiod_retry(struct smb_sb_info *server)
{
struct list_head *head;
struct smb_request *req;
{
struct list_head *head;
struct smb_request *req;
-
pid_t pid = server->conn_pid
;
+
struct pid *pid = get_pid(server->conn_pid)
;
int result = 0;
VERBOSE("state: %d\n", server->state);
int result = 0;
VERBOSE("state: %d\n", server->state);
@@
-222,7
+222,7
@@
int smbiod_retry(struct smb_sb_info *server)
/*
* Note: use the "priv" flag, as a user process may need to reconnect.
*/
/*
* Note: use the "priv" flag, as a user process may need to reconnect.
*/
- result = kill_p
roc
(pid, SIGUSR1, 1);
+ result = kill_p
id
(pid, SIGUSR1, 1);
if (result) {
/* FIXME: this is most likely fatal, umount? */
printk(KERN_ERR "smb_retry: signal failed [%d]\n", result);
if (result) {
/* FIXME: this is most likely fatal, umount? */
printk(KERN_ERR "smb_retry: signal failed [%d]\n", result);
@@
-233,6
+233,7
@@
int smbiod_retry(struct smb_sb_info *server)
/* FIXME: The retried requests should perhaps get a "time boost". */
out:
/* FIXME: The retried requests should perhaps get a "time boost". */
out:
+ put_pid(pid);
return result;
}
return result;
}