aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libfsimage/ufs
diff options
context:
space:
mode:
authorjohn.levon@sun.com <john.levon@sun.com>2007-02-19 20:44:42 -0800
committerjohn.levon@sun.com <john.levon@sun.com>2007-02-19 20:44:42 -0800
commitec08a094b2b6437406adab0f19cb89bf26c4f3ad (patch)
tree3a0a944eb764d758615842526e1b5c28bf29b56a /tools/libfsimage/ufs
parent5f855af62745d6def7f9a47a75fe3b83bf1aa2cb (diff)
downloadxen-ec08a094b2b6437406adab0f19cb89bf26c4f3ad.tar.gz
xen-ec08a094b2b6437406adab0f19cb89bf26c4f3ad.tar.bz2
xen-ec08a094b2b6437406adab0f19cb89bf26c4f3ad.zip
Filesystem implementations may need optional arguments in terms of
what to mount. Add an options string to the libfsimage API. Signed-off-by: John Levon <john.levon@sun.com>
Diffstat (limited to 'tools/libfsimage/ufs')
-rw-r--r--tools/libfsimage/ufs/fsys_ufs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libfsimage/ufs/fsys_ufs.c b/tools/libfsimage/ufs/fsys_ufs.c
index f1cb917c8c..d187dbf414 100644
--- a/tools/libfsimage/ufs/fsys_ufs.c
+++ b/tools/libfsimage/ufs/fsys_ufs.c
@@ -44,7 +44,7 @@ static grub_daddr32_t sbmap(fsi_file_t *, grub_daddr32_t);
/* read superblock and check fs magic */
int
-ufs_mount(fsi_file_t *ffi)
+ufs_mount(fsi_file_t *ffi, const char *options)
{
if (/*! IS_PC_SLICE_TYPE_SOLARIS(current_slice) || */
!devread(ffi, UFS_SBLOCK, 0, UFS_SBSIZE, (char *)SUPERBLOCK) ||