Print this page
6198 Let's EOL cachefs

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/vfs.c
          +++ new/usr/src/uts/common/fs/vfs.c
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright (c) 1988, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23   * Copyright (c) 2012, Joyent, Inc. All rights reserved.
       24 + * Copyright 2015 Nexenta Systems, Inc. All rights reserved.
  24   25   */
  25   26  
  26   27  /*      Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T     */
  27   28  /*        All Rights Reserved   */
  28   29  
  29   30  /*
  30   31   * University Copyright- Copyright (c) 1982, 1986, 1988
  31   32   * The Regents of the University of California
  32   33   * All Rights Reserved
  33   34   *
↓ open down ↓ 4614 lines elided ↑ open up ↑
4648 4649   *
4649 4650   * If we are booting via NFS we currently have these options:
4650 4651   *      nfs -   dynamically choose NFS V2, V3, or V4 (default)
4651 4652   *      nfs2 -  force NFS V2
4652 4653   *      nfs3 -  force NFS V3
4653 4654   *      nfs4 -  force NFS V4
4654 4655   * Because we need to maintain backward compatibility with the naming
4655 4656   * convention that the NFS V2 filesystem name is "nfs" (see vfs_conf.c)
4656 4657   * we need to map "nfs" => "nfsdyn" and "nfs2" => "nfs".  The dynamic
4657 4658   * nfs module will map the type back to either "nfs", "nfs3", or "nfs4".
4658      - * This is only for root filesystems, all other uses such as cachefs
4659      - * will expect that "nfs" == NFS V2.
     4659 + * This is only for root filesystems, all other uses will expect
     4660 + * that "nfs" == NFS V2.
4660 4661   */
4661 4662  static void
4662 4663  getrootfs(char **fstypp, char **fsmodp)
4663 4664  {
4664 4665          extern char *strplumb_get_netdev_path(void);
4665 4666          char *propstr = NULL;
4666 4667  
4667 4668          /*
4668 4669           * Check fstype property; for diskless it should be one of "nfs",
4669 4670           * "nfs2", "nfs3" or "nfs4".
↓ open down ↓ 160 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX