1*84d9c625SLionel Sambuc /* $NetBSD: suspend.c,v 1.10 2009/12/05 12:13:08 pooka Exp $ */
2*84d9c625SLionel Sambuc
3*84d9c625SLionel Sambuc /*
4*84d9c625SLionel Sambuc * Copyright (c) 2007 Antti Kantee. All Rights Reserved.
5*84d9c625SLionel Sambuc *
6*84d9c625SLionel Sambuc * Redistribution and use in source and binary forms, with or without
7*84d9c625SLionel Sambuc * modification, are permitted provided that the following conditions
8*84d9c625SLionel Sambuc * are met:
9*84d9c625SLionel Sambuc * 1. Redistributions of source code must retain the above copyright
10*84d9c625SLionel Sambuc * notice, this list of conditions and the following disclaimer.
11*84d9c625SLionel Sambuc * 2. Redistributions in binary form must reproduce the above copyright
12*84d9c625SLionel Sambuc * notice, this list of conditions and the following disclaimer in the
13*84d9c625SLionel Sambuc * documentation and/or other materials provided with the distribution.
14*84d9c625SLionel Sambuc *
15*84d9c625SLionel Sambuc * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
16*84d9c625SLionel Sambuc * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17*84d9c625SLionel Sambuc * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18*84d9c625SLionel Sambuc * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19*84d9c625SLionel Sambuc * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20*84d9c625SLionel Sambuc * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
21*84d9c625SLionel Sambuc * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22*84d9c625SLionel Sambuc * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23*84d9c625SLionel Sambuc * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24*84d9c625SLionel Sambuc * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25*84d9c625SLionel Sambuc * SUCH DAMAGE.
26*84d9c625SLionel Sambuc */
27*84d9c625SLionel Sambuc
28*84d9c625SLionel Sambuc #include <sys/cdefs.h>
29*84d9c625SLionel Sambuc #if !defined(lint)
30*84d9c625SLionel Sambuc __RCSID("$NetBSD: suspend.c,v 1.10 2009/12/05 12:13:08 pooka Exp $");
31*84d9c625SLionel Sambuc #endif /* !lint */
32*84d9c625SLionel Sambuc
33*84d9c625SLionel Sambuc /*
34*84d9c625SLionel Sambuc * File system suspension
35*84d9c625SLionel Sambuc */
36*84d9c625SLionel Sambuc
37*84d9c625SLionel Sambuc #include <sys/types.h>
38*84d9c625SLionel Sambuc
39*84d9c625SLionel Sambuc #include <errno.h>
40*84d9c625SLionel Sambuc #include <puffs.h>
41*84d9c625SLionel Sambuc
42*84d9c625SLionel Sambuc /*ARGSUSED*/
43*84d9c625SLionel Sambuc int
puffs_fs_suspend(struct puffs_usermount * pu)44*84d9c625SLionel Sambuc puffs_fs_suspend(struct puffs_usermount *pu)
45*84d9c625SLionel Sambuc {
46*84d9c625SLionel Sambuc
47*84d9c625SLionel Sambuc /* used to be, no longer is. just return error to avoid ABI bump */
48*84d9c625SLionel Sambuc return EOPNOTSUPP;
49*84d9c625SLionel Sambuc }
50