mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 10:04:00 +08:00
Allowed kernel cacheing by lowntfs-3g when not using Posix ACLs
Kernel cacheing of file attributes is usually not used by ntfs-3g, because it has defects when dealing with hard linked files and directory permission checks. Kernel cacheing is however possible when using lowntfs-3g and not using Posix ACLs.
This commit is contained in:
parent
fc666cb0b9
commit
887d8f8294
@ -115,8 +115,8 @@ enum {
|
||||
*
|
||||
* Possible values for low level :
|
||||
* 2 : no cache, kernel control
|
||||
* 3 : use kernel/fuse cache, kernel control (external fuse >= 2.8)
|
||||
* 5 : no cache, file system control (recommended on Linux)
|
||||
* 3 : use kernel/fuse cache, kernel control (recommended)
|
||||
* 5 : no cache, file system control
|
||||
* 6 : kernel/fuse cache, file system control (OpenIndiana only)
|
||||
* 8 : no cache, kernel control for ACLs
|
||||
*
|
||||
@ -132,13 +132,14 @@ enum {
|
||||
*/
|
||||
#define HPERMSCONFIG 6
|
||||
#define LPERMSCONFIG 6
|
||||
#else
|
||||
#else /* defined(__sun) && defined(__SVR4) */
|
||||
/*
|
||||
* Cacheing by kernel is buggy on Linux when access control is done
|
||||
* by the file system, and also when using hard-linked files on
|
||||
* the fuse high level interface.
|
||||
*/
|
||||
#define HPERMSCONFIG 1
|
||||
#if defined(FUSE_INTERNAL) || !defined(FUSE_VERSION) || (FUSE_VERSION < 28)
|
||||
#define LPERMSCONFIG 5
|
||||
#else
|
||||
#define LPERMSCONFIG 3
|
||||
#endif
|
||||
#endif /* defined(__sun) && defined(__SVR4) */
|
||||
|
||||
#endif /* defined _NTFS_PARAM_H */
|
||||
|
Loading…
Reference in New Issue
Block a user