[PATCH] files: fix preemption issues
With the new fdtable locking rules, you have to protect fdtable with either ->file_lock or rcu_read_lock/unlock(). There are some places where we aren't doing either. This patch fixes those places. Signed-off-by:Dipankar Sarma <dipankar@in.ibm.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- arch/alpha/kernel/osf_sys.c 6 additions, 1 deletionarch/alpha/kernel/osf_sys.c
- arch/ia64/kernel/perfmon.c 2 additions, 1 deletionarch/ia64/kernel/perfmon.c
- fs/locks.c 3 additions, 0 deletionsfs/locks.c
- fs/proc/array.c 3 additions, 0 deletionsfs/proc/array.c
- kernel/exit.c 6 additions, 0 deletionskernel/exit.c
Loading
Please register or sign in to comment