[PATCH] smbfs: Make conn_pid a struct pid
smbfs keeps track of the user space server process in conn_pid. This converts that track to use a struct pid instead of pid_t. This keeps us safe from pid wrap around issues and prepares the way for the pid namespace. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
3cec556a84
commit
a71113da44
4 changed files with 10 additions and 8 deletions
|
@ -55,7 +55,7 @@ struct smb_sb_info {
|
|||
* generation is incremented.
|
||||
*/
|
||||
unsigned int generation;
|
||||
pid_t conn_pid;
|
||||
struct pid *conn_pid;
|
||||
struct smb_conn_opt opt;
|
||||
wait_queue_head_t conn_wq;
|
||||
int conn_complete;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue