Staging
v0.5.1
https://github.com/torvalds/linux
Revision 1fb32b7bd8203d0175649a75ede3ee7634d6a941 authored by Evgeniy Dushistov on 05 August 2006, 19:13:55 UTC, committed by Linus Torvalds on 06 August 2006, 15:57:46 UTC
As discussed earlier:
http://lkml.org/lkml/2006/6/28/136
this patch fixes such issue:

`ufs_get_locked_page' takes page from cache
after that `vmtruncate' takes page and deletes it from cache
`ufs_get_locked_page' locks page, and reports about EIO error.

Also because of find_lock_page always return valid page or NULL, we have no
need to check it if page not NULL.

Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent e91467e
History
Tip revision: 1fb32b7bd8203d0175649a75ede3ee7634d6a941 authored by Evgeniy Dushistov on 05 August 2006, 19:13:55 UTC
[PATCH] ufs: ufs_get_locked_page() race fix
Tip revision: 1fb32b7
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 521 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.4 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 70.4 KB
Makefile -rw-r--r-- 46.1 KB
README -rw-r--r-- 16.2 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top