diff options
-rw-r--r-- | drivers/mtd/maps/Kconfig | 2 | ||||
-rw-r--r-- | fs/jffs2/scan.c | 3 | ||||
-rw-r--r-- | fs/locks.c | 3 |
3 files changed, 2 insertions, 6 deletions
diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig index 48638c8097a5..846a533323a8 100644 --- a/drivers/mtd/maps/Kconfig +++ b/drivers/mtd/maps/Kconfig | |||
@@ -94,7 +94,7 @@ config MTD_NETSC520 | |||
94 | 94 | ||
95 | config MTD_TS5500 | 95 | config MTD_TS5500 |
96 | tristate "JEDEC Flash device mapped on Technologic Systems TS-5500" | 96 | tristate "JEDEC Flash device mapped on Technologic Systems TS-5500" |
97 | depends on ELAN | 97 | depends on X86 |
98 | select MTD_PARTITIONS | 98 | select MTD_PARTITIONS |
99 | select MTD_JEDECPROBE | 99 | select MTD_JEDECPROBE |
100 | select MTD_CFI_AMDSTD | 100 | select MTD_CFI_AMDSTD |
diff --git a/fs/jffs2/scan.c b/fs/jffs2/scan.c index 0e7456ec99fd..3e51dd1da8aa 100644 --- a/fs/jffs2/scan.c +++ b/fs/jffs2/scan.c | |||
@@ -284,9 +284,6 @@ int jffs2_fill_scan_buf (struct jffs2_sb_info *c, void *buf, | |||
284 | D1(printk(KERN_WARNING "Read at 0x%x gave only 0x%zx bytes\n", ofs, retlen)); | 284 | D1(printk(KERN_WARNING "Read at 0x%x gave only 0x%zx bytes\n", ofs, retlen)); |
285 | return -EIO; | 285 | return -EIO; |
286 | } | 286 | } |
287 | D2(printk(KERN_DEBUG "Read 0x%x bytes from 0x%08x into buf\n", len, ofs)); | ||
288 | D2(printk(KERN_DEBUG "000: %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x\n", | ||
289 | buf[0], buf[1], buf[2], buf[3], buf[4], buf[5], buf[6], buf[7], buf[8], buf[9], buf[10], buf[11], buf[12], buf[13], buf[14], buf[15])); | ||
290 | return 0; | 287 | return 0; |
291 | } | 288 | } |
292 | 289 | ||
diff --git a/fs/locks.c b/fs/locks.c index a1e8b2248014..250ef53d25ef 100644 --- a/fs/locks.c +++ b/fs/locks.c | |||
@@ -1105,7 +1105,6 @@ static void time_out_leases(struct inode *inode) | |||
1105 | before = &fl->fl_next; | 1105 | before = &fl->fl_next; |
1106 | continue; | 1106 | continue; |
1107 | } | 1107 | } |
1108 | printk(KERN_INFO "lease broken - owner pid = %d\n", fl->fl_pid); | ||
1109 | lease_modify(before, fl->fl_type & ~F_INPROGRESS); | 1108 | lease_modify(before, fl->fl_type & ~F_INPROGRESS); |
1110 | if (fl == *before) /* lease_modify may have freed fl */ | 1109 | if (fl == *before) /* lease_modify may have freed fl */ |
1111 | before = &fl->fl_next; | 1110 | before = &fl->fl_next; |
@@ -1430,7 +1429,7 @@ int fcntl_setlease(unsigned int fd, struct file *filp, long arg) | |||
1430 | lock_kernel(); | 1429 | lock_kernel(); |
1431 | 1430 | ||
1432 | error = __setlease(filp, arg, &flp); | 1431 | error = __setlease(filp, arg, &flp); |
1433 | if (error) | 1432 | if (error || arg == F_UNLCK) |
1434 | goto out_unlock; | 1433 | goto out_unlock; |
1435 | 1434 | ||
1436 | error = fasync_helper(fd, filp, 1, &flp->fl_fasync); | 1435 | error = fasync_helper(fd, filp, 1, &flp->fl_fasync); |