[PATCH 07/12] rtc-m41t80: Use nonseekable_open()
Use nonseekable_open() for this since seeking is not supported anyway. Signed-off-by: Jan Blunck <jblunck(a)suse.de> --- drivers/rtc/rtc-m41t80.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-m41t80.c b/drivers/rtc/rtc-m41t80.c index 60fe266..1e2ed76 100644 --- a... 9 Apr 2010 11:08
[PATCH 11/12] Do not fallback to default_llseek() when readdir() uses BKL
Do not use the fallback default_llseek() if the readdir operation of the filesystem still uses the big kernel lock. Since llseek() modifies file->f_pos of the directory directly it may need locking to not confuse readdir which usually uses file->f_pos directly as well. Since the special characteristics of the BKL (... 9 Apr 2010 11:08
[PATCH 08/12] Introduce noop_llseek()
This is an implementation of ->llseek useable for the rare special case when userspace expects the seek to succeed but the (device) file is actually not able to perform the seek. In this case you use noop_llseek() instead of falling back to the default implementation of ->llseek. Signed-off-by: Jan Blunck <jblunc... 9 Apr 2010 11:08
[PATCH 10/12] st: Use noop_llseek() instead of default_llseek()
st_open() suggests that llseek() doesn't work: "We really want to do nonseekable_open(inode, filp); here, but some versions of tar incorrectly call lseek on tapes and bail out if that fails. So we disallow pread() and pwrite(), but permit lseeks." Instead of using the fallback default_llseek() the driver should ... 9 Apr 2010 11:08
[PATCH 09/12] osst: Use noop_llseek() instead of default_llseek()
__os_scsi_tape_open() suggests that llseek() doesn't work: "We really want to do nonseekable_open(inode, filp); here, but some versions of tar incorrectly call lseek on tapes and bail out if that fails. So we disallow pread() and pwrite(), but permit lseeks." Instead of using the fallback default_llseek() the dr... 9 Apr 2010 11:08
[PATCH 02/12] flash_read should update ppos instead of file->f_pos
flash_read() updates file->f_pos directly instead of the ppos given. The VFS later updates the file->f_pos and overwrites it with the unchanged value of ppos. Signed-off-by: Jan Blunck <jblunck(a)suse.de> --- drivers/sbus/char/flash.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git ... 9 Apr 2010 11:08
[PATCH 00/12] Multiple file->f_pos/nonseekable_open/llseek fixes (reposy)
This is a repost of a patch series I already posted in November 2009. This time I left out the patch that removes the BKL from default_llseek() since this should go through Frederic's tree. This series mostly consists of fixing direct modifications of file->f_pos and some additional cases where nonseekable_open() c... 9 Apr 2010 11:08
net: reserve ports for applications using fixed port numbers
Hello. Amerigo Wang wrote: Index: linux-2.6/drivers/infiniband/core/cma.c =================================================================== --- linux-2.6.orig/drivers/infiniband/core/cma.c +++ linux-2.6/drivers/infiniband/core/cma.c @@ -1980,6 +1980,8 @@ retry: /* FIXME: add proper port randomi... 13 Apr 2010 12:49
[PATCH] lis3lv02d: provide means to disable polled input interface
lis3lv02d driver creates emulated joystick interface for events reported by the sensor. Because of HW, this has to be implemented as polled input device, with 20Hz frequency. This is reported to create 20% CPU usage increase (and proportionaly higher power consumption) just for the ipolldevd kernel thread (whic... 9 Apr 2010 09:59
[PATCH] perf: Make clock software events consistent with general exclusion rules
The cpu/task clock events implement their own version of exclusion on top of exclude_user and exclude_kernel. The result is that when the event triggered in the kernel but we have exclude_kernel set, we try to rewind using task_pt_regs. There are two side effects of this: - we call task_pt_regs even on kernel ... 9 Apr 2010 08:53