OSDN Git Service

libext2fs: handle <=linux-2.6.19 bug in /proc/swaps
authorKarel Zak <kzak@redhat.com>
Tue, 13 Oct 2009 13:52:59 +0000 (13:52 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 13 Nov 2009 13:48:29 +0000 (08:48 -0500)
commit5f91561ae7e08d79b6a5feca167259fd7634713f
treec326ba8ed3e3da88dfb999813b020f69bced4074
parent6eb229dc5d212ac5897ff626b839318f4e0c57ca
libext2fs: handle <=linux-2.6.19 bug in /proc/swaps

Linux <= 2.6.19 contained a bug in the /proc/swaps code where the
header would not be displayed (the first line).

This issue has been reported by Mike Frysinger for swapon(8).

Signed-off-by: Karel Zak <kzak@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/ismounted.c