git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nfsd: move most of nfsfh.h to fs/nfsd
[safe/jmp/linux-2.6]
/
fs
/
smbfs
/
smbiod.c
diff --git
a/fs/smbfs/smbiod.c
b/fs/smbfs/smbiod.c
index
67176af
..
6bd9b69
100644
(file)
--- a/
fs/smbfs/smbiod.c
+++ b/
fs/smbfs/smbiod.c
@@
-45,7
+45,7
@@
static LIST_HEAD(smb_servers);
static DEFINE_SPINLOCK(servers_lock);
#define SMBIOD_DATA_READY (1<<0)
static DEFINE_SPINLOCK(servers_lock);
#define SMBIOD_DATA_READY (1<<0)
-static long smbiod_flags;
+static
unsigned
long smbiod_flags;
static int smbiod(void *);
static int smbiod_start(void);
static int smbiod(void *);
static int smbiod_start(void);
@@
-206,7
+206,7
@@
int smbiod_retry(struct smb_sb_info *server)
smb_close_socket(server);
smb_close_socket(server);
- if (
pid == 0
) {
+ if (
!pid
) {
/* FIXME: this is fatal, umount? */
printk(KERN_ERR "smb_retry: no connection process\n");
server->state = CONN_RETRIED;
/* FIXME: this is fatal, umount? */
printk(KERN_ERR "smb_retry: no connection process\n");
server->state = CONN_RETRIED;
@@
-227,7
+227,7
@@
int smbiod_retry(struct smb_sb_info *server)
printk(KERN_ERR "smb_retry: signal failed [%d]\n", result);
goto out;
}
printk(KERN_ERR "smb_retry: signal failed [%d]\n", result);
goto out;
}
- VERBOSE("signalled pid %d\n", pid);
+ VERBOSE("signalled pid %d\n", pid
_nr(pid)
);
/* FIXME: The retried requests should perhaps get a "time boost". */
/* FIXME: The retried requests should perhaps get a "time boost". */