Skip to content

Commit

Permalink
OS-5013 NFS not working with Ubuntu 15.04 image
Browse files Browse the repository at this point in the history
  • Loading branch information
jjelinek committed Dec 10, 2015
1 parent 8e3b182 commit c69ab8c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions usr/src/lib/brand/lx/lx_brand/common/mount_nfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2138,6 +2138,9 @@ lx_nfs_mount(char *srcp, char *mntp, char *fst, int lx_flags, char *opts)
*/
convert_nfs_arg_str(srcp, opts);

/* Linux seems to always allow overlay mounts */
il_flags |= MS_OVERLAY;

/* Convert some Linux flags to Illumos flags. */
if (lx_flags & LX_MS_RDONLY)
il_flags |= MS_RDONLY;
Expand Down

0 comments on commit c69ab8c

Please sign in to comment.