Skip to content
Commit 16cc37b3 authored by Al Viro's avatar Al Viro Committed by Greg Kroah-Hartman
Browse files

dlmfs_file_write(): fix the bogosity in handling non-zero *ppos

commit 3815f1be

 upstream.

'count' is how much you want written, not the final position.
Moreover, it can legitimately be less than the current position...

Cc: stable@vger.kernel.org
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 50493854
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment