commit | cf050db3e88bd68f17464afdc48805186eb300f4 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Wed May 02 10:21:49 2012 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Wed May 02 10:21:49 2012 +0000 |
tree | db195c7fe807e81b542a730c743c4d20ec70cb90 | |
parent | a5fd66b7b94b88c7d9fe1fe1f47c3faabb7b3191 [diff] |
Fix build with <linux/loop.h> from 2.6.18 kernel headers * configure.ac: Check for LO_FLAGS_AUTOCLEAR and LO_FLAGS_PARTSCAN declarations. * loop.c (loop_flags_options): Use LO_FLAGS_AUTOCLEAR and LO_FLAGS_PARTSCAN only when appropriate declarations are available. (loop_ioctl): Use LOOP_SET_CAPACITY only when it is defined.