Blame view
fs/cifs/cifs_fs_sb.h
2.89 KB
1da177e4c Linux-2.6.12-rc2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
/* * fs/cifs/cifs_fs_sb.h * * Copyright (c) International Business Machines Corp., 2002,2004 * Author(s): Steve French (sfrench@us.ibm.com) * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See * the GNU Lesser General Public License for more details. * */ |
b647c35f7 cifs: convert tli... |
18 |
#include <linux/rbtree.h> |
9d002df49 cifs: add routine... |
19 |
|
1da177e4c Linux-2.6.12-rc2 |
20 21 |
#ifndef _CIFS_FS_SB_H #define _CIFS_FS_SB_H |
8044f7f46 cifs: add bdi bac... |
22 |
#include <linux/backing-dev.h> |
1da177e4c Linux-2.6.12-rc2 |
23 |
#define CIFS_MOUNT_NO_PERM 1 /* do not do client vfs_perm check */ |
a001e5b55 CRED: Wrap task c... |
24 |
#define CIFS_MOUNT_SET_UID 2 /* set current's euid in create etc. */ |
13a6e42af [CIFS] add mount ... |
25 |
#define CIFS_MOUNT_SERVER_INUM 4 /* inode numbers from uniqueid from server */ |
1da177e4c Linux-2.6.12-rc2 |
26 |
#define CIFS_MOUNT_DIRECT_IO 8 /* do not write nor read through page cache */ |
4523cc304 [CIFS] UID/GID ov... |
27 28 29 30 31 32 33 34 |
#define CIFS_MOUNT_NO_XATTR 0x10 /* if set - disable xattr support */ #define CIFS_MOUNT_MAP_SPECIAL_CHR 0x20 /* remap illegal chars in filenames */ #define CIFS_MOUNT_POSIX_PATHS 0x40 /* Negotiate posix pathnames if possible*/ #define CIFS_MOUNT_UNX_EMUL 0x80 /* Network compat with SFUnix emulation */ #define CIFS_MOUNT_NO_BRL 0x100 /* No sending byte range locks to srv */ #define CIFS_MOUNT_CIFS_ACL 0x200 /* send ACL requests to non-POSIX srv */ #define CIFS_MOUNT_OVERR_UID 0x400 /* override uid returned from server */ #define CIFS_MOUNT_OVERR_GID 0x800 /* override gid returned from server */ |
13a6e42af [CIFS] add mount ... |
35 36 |
#define CIFS_MOUNT_DYNPERM 0x1000 /* allow in-memory only mode setting */ #define CIFS_MOUNT_NOPOSIXBRL 0x2000 /* mandatory not posix byte range lock */ |
4717bed68 [CIFS] fix build ... |
37 |
#define CIFS_MOUNT_NOSSYNC 0x4000 /* don't do slow SMBflush on every sync*/ |
fa1df75d4 cifs: add mount o... |
38 |
#define CIFS_MOUNT_FSCACHE 0x8000 /* local caching enabled */ |
1b12b9c15 cifs: use Minshal... |
39 |
#define CIFS_MOUNT_MF_SYMLINKS 0x10000 /* Minshall+French Symlinks enabled */ |
6508d904e cifs: have find_r... |
40 |
#define CIFS_MOUNT_MULTIUSER 0x20000 /* multiuser mount */ |
4f8ba8a0c CIFS: Make cifsFi... |
41 |
#define CIFS_MOUNT_STRICT_IO 0x40000 /* strict cache mode */ |
d4ffff1fa CIFS: Add rwpidfo... |
42 |
#define CIFS_MOUNT_RWPIDFORWARD 0x80000 /* use pid forwarding for rw */ |
2c6292ae4 cifs: don't pass ... |
43 |
#define CIFS_MOUNT_POSIXACL 0x100000 /* mirror of MS_POSIXACL in mnt_cifs_flags */ |
1da177e4c Linux-2.6.12-rc2 |
44 45 |
struct cifs_sb_info { |
b647c35f7 cifs: convert tli... |
46 |
struct rb_root tlink_tree; |
9d002df49 cifs: add routine... |
47 |
spinlock_t tlink_tree_lock; |
413e661c1 cifs: store point... |
48 |
struct tcon_link *master_tlink; |
1da177e4c Linux-2.6.12-rc2 |
49 50 51 |
struct nls_table *local_nls; unsigned int rsize; unsigned int wsize; |
6d20e8406 cifs: add attribu... |
52 |
unsigned long actimeo; /* attribute cache timeout (jiffies) */ |
d7c86ff8c cifs: don't use v... |
53 |
atomic_t active; |
1da177e4c Linux-2.6.12-rc2 |
54 55 56 57 |
uid_t mnt_uid; gid_t mnt_gid; mode_t mnt_file_mode; mode_t mnt_dir_mode; |
6508d904e cifs: have find_r... |
58 |
unsigned int mnt_cifs_flags; |
f14bcf71d cifs: Uncondition... |
59 |
char *mountdata; /* options received at mount time or via DFS refs */ |
8044f7f46 cifs: add bdi bac... |
60 |
struct backing_dev_info bdi; |
2de970ff6 cifs: implement r... |
61 |
struct delayed_work prune_tlinks; |
1da177e4c Linux-2.6.12-rc2 |
62 63 |
}; #endif /* _CIFS_FS_SB_H */ |