commit | b1667425f8cd8b3c3d6b205ac9f3dee2e085058c | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Thu Dec 12 13:08:45 2013 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Dec 12 13:08:49 2013 -0500 |
tree | fe019c84085c469b1e72e62a9af46eb91b7fc7c5 | |
parent | e661d2815194d6db3f3e38223277569ad55bb420 [diff] |
e4defrag: defensively check results of sysconf(_SC_PAGESIZE) sysconf(_SC_PAGESIZE) will probably never return an error, but just in case it does, we shouldn't pass what looks like a huge number to sync_file_range() and posix_fadvise(). Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>