diff options
author | Karel Zak | 2010-12-03 21:13:52 +0100 |
---|---|---|
committer | Karel Zak | 2011-01-03 12:28:47 +0100 |
commit | 77417bc00d76086d3cb5876f6fd52d5369c918a4 (patch) | |
tree | c71c225182ee80b5df388ab8a01c65500a8770e3 /shlibs/mount/src/utils.c | |
parent | libmount: fix to work with btrfs subvolume user mounts (diff) | |
download | kernel-qcow2-util-linux-77417bc00d76086d3cb5876f6fd52d5369c918a4.tar.gz kernel-qcow2-util-linux-77417bc00d76086d3cb5876f6fd52d5369c918a4.tar.xz kernel-qcow2-util-linux-77417bc00d76086d3cb5876f6fd52d5369c918a4.zip |
libmount: remove utab from API, update tests
The utab file is private libmount stuff. Anything about utab should
not be exported by library API.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/utils.c')
-rw-r--r-- | shlibs/mount/src/utils.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/shlibs/mount/src/utils.c b/shlibs/mount/src/utils.c index 2f62313c5..96ce7ddb1 100644 --- a/shlibs/mount/src/utils.c +++ b/shlibs/mount/src/utils.c @@ -569,11 +569,8 @@ done: return 0; } -/** - * - * mnt_has_regular_utab: - * @utab: returns path to utab (usually /dev/.mount/utab) - * @writable: returns 1 if the file is writable +/* + * Don't export this to libmount API -- utab is private library stuff. * * If the file does not exist and @writable argument is not NULL then it will * try to create the directory (e.g. /dev/.mount) and the file. @@ -656,10 +653,8 @@ const char *mnt_get_mtab_path(void) return p ? : _PATH_MOUNTED; } -/** - * mnt_get_utab_path: - * - * This function returns *default* location of the utab file. +/* + * Don't export this to libmount API -- utab is private library stuff. * * Returns: path to /dev/.mount/utab or $LIBMOUNT_UTAB. */ |