summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/fs/tmpfs
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2019-01-19 23:17:26 +0200
committerToomas Soome <tsoome@me.com>2019-04-20 00:02:28 +0300
commit30df210350904179c6f4c809c371bbb1319e3b6c (patch)
tree7f9eb4de381a651792c40209c339d09e222cc0e8 /usr/src/uts/common/fs/tmpfs
parentae367b8415e0f719fb9a789c8748c9000a881989 (diff)
downloadillumos-joyent-30df210350904179c6f4c809c371bbb1319e3b6c.tar.gz
10734 tmpfs: NULL pointer errors
Reviewed by: Marcel Telka <marcel@telka.sk> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/uts/common/fs/tmpfs')
-rw-r--r--usr/src/uts/common/fs/tmpfs/tmp_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/fs/tmpfs/tmp_vfsops.c b/usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
index f0e0c54d3e..a7cf62cb99 100644
--- a/usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
+++ b/usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
@@ -90,7 +90,7 @@ static char *noxattr_cancel[] = { MNTOPT_XATTR, NULL };
static mntopt_t tmpfs_options[] = {
/* Option name Cancel Opt Arg Flags Data */
{ MNTOPT_XATTR, xattr_cancel, NULL, MO_DEFAULT, NULL},
- { MNTOPT_NOXATTR, noxattr_cancel, NULL, NULL, NULL},
+ { MNTOPT_NOXATTR, noxattr_cancel, NULL, 0, NULL},
{ "size", NULL, "0", MO_HASVALUE, NULL},
{ "mode", NULL, NULL, MO_HASVALUE, NULL}
};