summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorMatthias Koenig <mkoenig@suse.de>2008-11-27 12:32:56 +0100
committerKarel Zak <kzak@redhat.com>2008-12-05 12:54:12 +0100
commit3399a218f4eff4016a22044e7c416521bc37c53c (patch)
treeaa9fa55c4473d435a0d35238c2834377246b940e /.gitignore
parentd60819b36d1a9fcb6c0f9678b6549cd7810d0943 (diff)
downloadutil-linux-old-3399a218f4eff4016a22044e7c416521bc37c53c.tar.gz
swapon: add swap format detection and pagesize check
As swap format depends on the pagesize being used, it may happen that the pagesize of the swap space and the current pagesize differ, resulting in swapon to fail when trying to enable such a swap space. In such a case swapon should rather reinitialize the swap space. [kzak@redhat.com: - add blkdev.c to the global swapon_SOURCES - don't try to detect for huge pages on small swap areas (or when read() returns less than MAX_PAGESIZE) - fix fprintf() format string] Co-Author: Olaf Hering <olh@suse.de> Signed-off-by: Matthias Koenig <mkoenig@suse.de> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions