diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-11-13 23:20:16 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-13 23:20:16 -0500 |
commit | 85d6162d6cea9220e483989817eac0cebc03070e (patch) | |
tree | 275f1594f1ab7a2e033c4df1af660f5695bcf060 /fs | |
parent | c9d39130123238ac18478a42e25cb7996eacfcc0 (diff) | |
parent | 4ba529a8a39e15688b6a3d31b11930d1f8a1edad (diff) | |
download | talos-obmc-linux-85d6162d6cea9220e483989817eac0cebc03070e.tar.gz talos-obmc-linux-85d6162d6cea9220e483989817eac0cebc03070e.zip |
Merge branch 'master'
Diffstat (limited to 'fs')
-rw-r--r-- | fs/jffs2/scan.c | 3 | ||||
-rw-r--r-- | fs/locks.c | 3 |
2 files changed, 1 insertions, 5 deletions
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, D1(printk(KERN_WARNING "Read at 0x%x gave only 0x%zx bytes\n", ofs, retlen)); return -EIO; } - D2(printk(KERN_DEBUG "Read 0x%x bytes from 0x%08x into buf\n", len, ofs)); - D2(printk(KERN_DEBUG "000: %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x\n", - 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])); return 0; } 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) before = &fl->fl_next; continue; } - printk(KERN_INFO "lease broken - owner pid = %d\n", fl->fl_pid); lease_modify(before, fl->fl_type & ~F_INPROGRESS); if (fl == *before) /* lease_modify may have freed fl */ before = &fl->fl_next; @@ -1430,7 +1429,7 @@ int fcntl_setlease(unsigned int fd, struct file *filp, long arg) lock_kernel(); error = __setlease(filp, arg, &flp); - if (error) + if (error || arg == F_UNLCK) goto out_unlock; error = fasync_helper(fd, filp, 1, &flp->fl_fasync); |