1 #ifndef _LINUX_MOUNT__CONFIG_H
2 #define _LINUX_MOUNT_CONFIG__H
4 * mount_config.h -- mount configuration file routines
5 * Copyright (C) 2008 Red Hat, Inc <nfs@redhat.com>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2, or (at your option)
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
19 inline void mount_config_init(void);
23 extern char *conf_get_mntopts(char *, char *, char *);
25 inline void mount_config_init()
28 * Read the the default mount options
32 inline char *mount_config_opts(char *spec,
33 char *mount_point, char *mount_opts)
35 return conf_get_mntopts(spec, mount_point, mount_opts);
37 #else /* MOUNT_CONFIG */
39 inline void mount_config_init() { }
41 inline char *mount_config_opts(char *spec,
42 char *mount_point, char *mount_opts)
46 #endif /* MOUNT_CONFIG */