ia64/linux-2.6.18-xen.hg

annotate fs/cifs/cifs_fs_sb.h @ 524:7f8b544237bf

netfront: Allow netfront in domain 0.

This is useful if your physical network device is in a utility domain.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Apr 15 15:18:58 2008 +0100 (2008-04-15)
parents 831230e53067
children
rev   line source
ian@0 1 /*
ian@0 2 * fs/cifs/cifs_fs_sb.h
ian@0 3 *
ian@0 4 * Copyright (c) International Business Machines Corp., 2002,2004
ian@0 5 * Author(s): Steve French (sfrench@us.ibm.com)
ian@0 6 *
ian@0 7 * This library is free software; you can redistribute it and/or modify
ian@0 8 * it under the terms of the GNU Lesser General Public License as published
ian@0 9 * by the Free Software Foundation; either version 2.1 of the License, or
ian@0 10 * (at your option) any later version.
ian@0 11 *
ian@0 12 * This library is distributed in the hope that it will be useful,
ian@0 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
ian@0 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
ian@0 15 * the GNU Lesser General Public License for more details.
ian@0 16 *
ian@0 17 */
ian@0 18 #ifndef _CIFS_FS_SB_H
ian@0 19 #define _CIFS_FS_SB_H
ian@0 20
ian@0 21 #define CIFS_MOUNT_NO_PERM 1 /* do not do client vfs_perm check */
ian@0 22 #define CIFS_MOUNT_SET_UID 2 /* set current->euid in create etc. */
ian@0 23 #define CIFS_MOUNT_SERVER_INUM 4 /* inode numbers from uniqueid from server */
ian@0 24 #define CIFS_MOUNT_DIRECT_IO 8 /* do not write nor read through page cache */
ian@0 25 #define CIFS_MOUNT_NO_XATTR 0x10 /* if set - disable xattr support */
ian@0 26 #define CIFS_MOUNT_MAP_SPECIAL_CHR 0x20 /* remap illegal chars in filenames */
ian@0 27 #define CIFS_MOUNT_POSIX_PATHS 0x40 /* Negotiate posix pathnames if possible. */
ian@0 28 #define CIFS_MOUNT_UNX_EMUL 0x80 /* Network compat with SFUnix emulation */
ian@0 29 #define CIFS_MOUNT_NO_BRL 0x100 /* No sending byte range locks to srv */
ian@0 30 #define CIFS_MOUNT_CIFS_ACL 0x200 /* send ACL requests to non-POSIX srv */
ian@0 31
ian@0 32 struct cifs_sb_info {
ian@0 33 struct cifsTconInfo *tcon; /* primary mount */
ian@0 34 struct list_head nested_tcon_q;
ian@0 35 struct nls_table *local_nls;
ian@0 36 unsigned int rsize;
ian@0 37 unsigned int wsize;
ian@0 38 uid_t mnt_uid;
ian@0 39 gid_t mnt_gid;
ian@0 40 mode_t mnt_file_mode;
ian@0 41 mode_t mnt_dir_mode;
ian@0 42 int mnt_cifs_flags;
ian@0 43 };
ian@0 44 #endif /* _CIFS_FS_SB_H */