udev-builtin-btrfs.c revision 2eec67acbb00593e414549a7e5b35eb7dd776b1b
/***
This file is part of systemd.
Copyright 2012 Kay Sievers <kay@vrfy.org>
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
systemd is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include <stdlib.h>
#include <fcntl.h>
#ifdef HAVE_LINUX_BTRFS_H
#endif
#include "missing.h"
#include "udev.h"
struct btrfs_ioctl_vol_args args = {};
int err;
return EXIT_FAILURE;
if (fd < 0)
return EXIT_FAILURE;
if (err < 0)
return EXIT_FAILURE;
return EXIT_SUCCESS;
}
const struct udev_builtin udev_builtin_btrfs = {
.name = "btrfs",
.cmd = builtin_btrfs,
.help = "btrfs volume management",
};