summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/fs/udfs
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2018-02-14 12:41:01 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2018-02-14 12:41:01 +0000
commitb765746f152284954a1f5d8b38a5db126d45645a (patch)
tree7b8e0dd6aeeb6310cd24a8e0464ac79fd33c38fa /usr/src/uts/common/fs/udfs
parent016c6e4a03266bfa546041c49c47c62000cded99 (diff)
parent750a7e45cc1795462d627c610964b7ceb020a0b0 (diff)
downloadillumos-joyent-release-20180215.tar.gz
[illumos-gate merge]release-20180215
commit 750a7e45cc1795462d627c610964b7ceb020a0b0 9078 Update hwdata - 20180208 commit d6e1c446d7897003fd9fd36ef5aa7da350b7f6af 8857 zio_remove_child() panic due to already destroyed parent zio commit d9a54dd1ef75248420c035ec1d240674f8d1f4fb 9074 domount() interprets ZFS filesystem names as relative paths commit 213fcdcbdccbdeb7d33fbae7ba8d2639a6f8fd01 9077 zloop misses core files because they're no longer written into cwd commit 544132fce3fa6583f01318f9559adc46614343a7 8940 Sending an intra-pool resumable send stream may result in EXDEV commit bdfded42e66b9fc1395ff2401aa2952f7c44ae34 9080 recursive enter of vdev_indirect_rwlock from vdev_indirect_remap() commit 667ec66f1b4f491d5e839644e0912cad1c9e7122 9079 race condition in starting and ending condesing thread for indirect vdevs commit 6f7938128a2c5e23f4b970ea101137eadd1470a1 9075 Improve ZFS pool import/load process and corrupted pool recovery commit 6bb6b5762ca4b17cd5fb3c6c123f17489d5635aa 9100 remove sunman rules from the gate Conflicts: usr/src/cmd/smbios/smbios.c
Diffstat (limited to 'usr/src/uts/common/fs/udfs')
-rw-r--r--usr/src/uts/common/fs/udfs/udf_vfsops.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/usr/src/uts/common/fs/udfs/udf_vfsops.c b/usr/src/uts/common/fs/udfs/udf_vfsops.c
index 479898fe9c..ebb1d7d813 100644
--- a/usr/src/uts/common/fs/udfs/udf_vfsops.c
+++ b/usr/src/uts/common/fs/udfs/udf_vfsops.c
@@ -22,6 +22,7 @@
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
* Copyright (c) 2011 Bayard G. Bell. All rights reserved.
+ * Copyright (c) 2017 by Delphix. All rights reserved.
*/
#include <sys/types.h>
@@ -121,7 +122,7 @@ static vfsdef_t vfw = {
VFSDEF_VERSION,
"udfs",
udfinit,
- VSW_HASPROTO|VSW_CANREMOUNT|VSW_STATS|VSW_CANLOFI,
+ VSW_HASPROTO|VSW_CANREMOUNT|VSW_STATS|VSW_CANLOFI|VSW_MOUNTDEV,
&udfs_mntopts
};
@@ -177,7 +178,7 @@ _NOTE(SCHEME_PROTECTS_DATA("safe sharing", rootvp))
#endif
static int32_t
udf_mount(struct vfs *vfsp, struct vnode *mvp,
- struct mounta *uap, struct cred *cr)
+ struct mounta *uap, struct cred *cr)
{
dev_t dev;
struct vnode *lvp = NULL;
@@ -489,8 +490,7 @@ udf_sync(struct vfs *vfsp, int16_t flag, struct cred *cr)
/* ARGSUSED */
static int32_t
-udf_vget(struct vfs *vfsp,
- struct vnode **vpp, struct fid *fidp)
+udf_vget(struct vfs *vfsp, struct vnode **vpp, struct fid *fidp)
{
int32_t error = 0;
struct udf_fid *udfid;
@@ -612,9 +612,8 @@ udf_mountroot(struct vfs *vfsp, enum whymountroot why)
static int32_t
-ud_mountfs(struct vfs *vfsp,
- enum whymountroot why, dev_t dev, char *name,
- struct cred *cr, int32_t isroot)
+ud_mountfs(struct vfs *vfsp, enum whymountroot why, dev_t dev, char *name,
+ struct cred *cr, int32_t isroot)
{
struct vnode *devvp = NULL;
int32_t error = 0;
@@ -1554,7 +1553,7 @@ ud_destroy_fsp(struct udf_vfs *udf_vfsp)
void
ud_convert_to_superblock(struct udf_vfs *udf_vfsp,
- struct log_vol_int_desc *lvid)
+ struct log_vol_int_desc *lvid)
{
int32_t i, c;
uint32_t *temp;
@@ -1652,7 +1651,7 @@ int32_t ud_sub_count = 4;
*/
static int32_t
ud_val_get_vat(struct udf_vfs *udf_vfsp, dev_t dev,
- daddr_t blkno, struct ud_map *udm)
+ daddr_t blkno, struct ud_map *udm)
{
struct buf *secbp;
struct file_entry *fe;
@@ -1776,7 +1775,7 @@ end:
int32_t
ud_read_sparing_tbls(struct udf_vfs *udf_vfsp,
- dev_t dev, struct ud_map *map, struct pmap_typ2 *typ2)
+ dev_t dev, struct ud_map *map, struct pmap_typ2 *typ2)
{
int32_t index, valid = 0;
uint32_t sz;