2 * setversion.c - Set a file version on an ext2 file system
4 * Copyright (C) 1993, 1994 Remy Card <card@masi.ibp.fr>
5 * Laboratoire MASI, Institut Blaise Pascal
6 * Universite Pierre et Marie Curie (Paris VI)
9 * This file may be redistributed under the terms of the GNU Library
10 * General Public License, version 2.
24 #include <sys/ioctl.h>
29 int setversion (int fd, unsigned long version)
35 return ioctl (fd, EXT2_IOC_SETVERSION, &ver);
36 #else /* ! HAVE_EXT2_IOCTLS */
40 #endif /* ! HAVE_EXT2_IOCTLS */