2.5.31 revert block_llseek to standard behavior
PATCH 1/1 2.5.31 revert block_llseek to standard behavior
Hi Al,
Same patch against the 2.5.31 tree.
Below is a fix to make block_llseek behave as specified in the Single Unix Spec. v3.
(http://www.unix-systems.org/single_unix_specification/). It's extremely trivial but may have political baggage.
block_dev.c renamed from block_dev.c.orig +1 -1
@@ -164,7 +164,7 @@ offset += file->f_pos; } retval = -EINVAL ; -if (offset >=0 && offset <= size) { +if (offset >=0 ) {if (offset != file->f_pos) { file->f_pos = offset; file->f_version = ++event;
Thanks,
Phil
Signature · 3 lines
Philip R. Auld, Ph.D. Technical Staff Egenera Corp. [email protected] 165 Forest St., Marlboro, MA 01752 (508)858-2600