Deleted Added
full compact
smbfs_vfsops.c (229272) smbfs_vfsops.c (230249)
1/*-
2 * Copyright (c) 2000-2001 Boris Popov
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 2000-2001 Boris Popov
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/fs/smbfs/smbfs_vfsops.c 229272 2012-01-02 12:12:10Z ed $
26 * $FreeBSD: head/sys/fs/smbfs/smbfs_vfsops.c 230249 2012-01-17 01:08:01Z mckusick $
27 */
28
29#include <sys/param.h>
30#include <sys/systm.h>
31#include <sys/proc.h>
32#include <sys/bio.h>
33#include <sys/buf.h>
34#include <sys/kernel.h>

--- 58 unchanged lines hidden (view full) ---

93
94MODULE_DEPEND(smbfs, netsmb, NSMB_VERSION, NSMB_VERSION, NSMB_VERSION);
95MODULE_DEPEND(smbfs, libiconv, 1, 1, 2);
96MODULE_DEPEND(smbfs, libmchain, 1, 1, 1);
97
98int smbfs_pbuf_freecnt = -1; /* start out unlimited */
99
100static int
27 */
28
29#include <sys/param.h>
30#include <sys/systm.h>
31#include <sys/proc.h>
32#include <sys/bio.h>
33#include <sys/buf.h>
34#include <sys/kernel.h>

--- 58 unchanged lines hidden (view full) ---

93
94MODULE_DEPEND(smbfs, netsmb, NSMB_VERSION, NSMB_VERSION, NSMB_VERSION);
95MODULE_DEPEND(smbfs, libiconv, 1, 1, 2);
96MODULE_DEPEND(smbfs, libmchain, 1, 1, 1);
97
98int smbfs_pbuf_freecnt = -1; /* start out unlimited */
99
100static int
101smbfs_cmount(struct mntarg *ma, void * data, int flags)
101smbfs_cmount(struct mntarg *ma, void * data, uint64_t flags)
102{
103 struct smbfs_args args;
104 int error;
105
106 error = copyin(data, &args, sizeof(struct smbfs_args));
107 if (error)
108 return error;
109

--- 323 unchanged lines hidden ---
102{
103 struct smbfs_args args;
104 int error;
105
106 error = copyin(data, &args, sizeof(struct smbfs_args));
107 if (error)
108 return error;
109

--- 323 unchanged lines hidden ---