From: Arnd Bergmann on
On Monday 09 August 2010, Sage Weil wrote:
> Currently the only way to sync a single super_block (and not all of them
> via sync(2)) is via the BLKFLSBUF ioctl on the block device. That also
> invalidates the bdev mapping, which isn't usually desireable, and it
> doesn't work for non-block file systems. The ability to sync a single
> mount can be useful for both applications and administrators (e.g., when
> other mounts on the system are hung).

You need to add this to the compat_ioctl handling as well, otherwise
it won't work when you run a 32 bit process in a 64 bit kernel.

Adding it to the ioctl_pointer[] array is probably the easiest way.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/