Re: lseek(fd, 0, SEEK_CUR) returns unexpected result for O_APPEND file on linux 2.6.32-431.29.2

From: Theodore Ts'o
Date: Sat Oct 24 2015 - 17:55:50 EST


On Sat, Oct 24, 2015 at 01:18:11AM +0100, Sigurd Næss wrote:
> Below is a description of a simple test case that causes lseek(fd, 0,
> SEEK_CUR) to return an unexpectedly small result on one of my
> computers, with linux 2.6.32-431.29.2, but none of the others. I'm
> posting it on the off chance that this is (or was) a kernel bug, and
> not some problem on my end.

The kernel versions you are mentioning are all RHEL kernel versions.
The problem doesn't reproduce on the latest mainline kernel.

Cheers,

- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/