aboutsummaryrefslogtreecommitdiffstats
path: root/fs/hpfs/hpfs_fn.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/hpfs/hpfs_fn.h')
-rw-r--r--fs/hpfs/hpfs_fn.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/fs/hpfs/hpfs_fn.h b/fs/hpfs/hpfs_fn.h
index 860d09f199b2..d10108690ed0 100644
--- a/fs/hpfs/hpfs_fn.h
+++ b/fs/hpfs/hpfs_fn.h
@@ -51,7 +51,6 @@ struct hpfs_inode_info {
51 unsigned i_disk_sec; /* (files) minimalist cache of alloc info */ 51 unsigned i_disk_sec; /* (files) minimalist cache of alloc info */
52 unsigned i_n_secs; /* (files) minimalist cache of alloc info */ 52 unsigned i_n_secs; /* (files) minimalist cache of alloc info */
53 unsigned i_ea_size; /* size of extended attributes */ 53 unsigned i_ea_size; /* size of extended attributes */
54 unsigned i_conv : 2; /* (files) crlf->newline hackery */
55 unsigned i_ea_mode : 1; /* file's permission is stored in ea */ 54 unsigned i_ea_mode : 1; /* file's permission is stored in ea */
56 unsigned i_ea_uid : 1; /* file's uid is stored in ea */ 55 unsigned i_ea_uid : 1; /* file's uid is stored in ea */
57 unsigned i_ea_gid : 1; /* file's gid is stored in ea */ 56 unsigned i_ea_gid : 1; /* file's gid is stored in ea */
@@ -73,7 +72,6 @@ struct hpfs_sb_info {
73 uid_t sb_uid; /* uid from mount options */ 72 uid_t sb_uid; /* uid from mount options */
74 gid_t sb_gid; /* gid from mount options */ 73 gid_t sb_gid; /* gid from mount options */
75 umode_t sb_mode; /* mode from mount options */ 74 umode_t sb_mode; /* mode from mount options */
76 unsigned sb_conv : 2; /* crlf->newline hackery */
77 unsigned sb_eas : 2; /* eas: 0-ignore, 1-ro, 2-rw */ 75 unsigned sb_eas : 2; /* eas: 0-ignore, 1-ro, 2-rw */
78 unsigned sb_err : 2; /* on errs: 0-cont, 1-ro, 2-panic */ 76 unsigned sb_err : 2; /* on errs: 0-cont, 1-ro, 2-panic */
79 unsigned sb_chk : 2; /* checks: 0-no, 1-normal, 2-strict */ 77 unsigned sb_chk : 2; /* checks: 0-no, 1-normal, 2-strict */
@@ -90,14 +88,6 @@ struct hpfs_sb_info {
90 int sb_timeshift; 88 int sb_timeshift;
91}; 89};
92 90
93/*
94 * conv= options
95 */
96
97#define CONV_BINARY 0 /* no conversion */
98#define CONV_TEXT 1 /* crlf->newline */
99#define CONV_AUTO 2 /* decide based on file contents */
100
101/* Four 512-byte buffers and the 2k block obtained by concatenating them */ 91/* Four 512-byte buffers and the 2k block obtained by concatenating them */
102 92
103struct quad_buffer_head { 93struct quad_buffer_head {
@@ -298,7 +288,6 @@ int hpfs_compare_names(struct super_block *, const unsigned char *, unsigned,
298 const unsigned char *, unsigned, int); 288 const unsigned char *, unsigned, int);
299int hpfs_is_name_long(const unsigned char *, unsigned); 289int hpfs_is_name_long(const unsigned char *, unsigned);
300void hpfs_adjust_length(const unsigned char *, unsigned *); 290void hpfs_adjust_length(const unsigned char *, unsigned *);
301void hpfs_decide_conv(struct inode *, const unsigned char *, unsigned);
302 291
303/* namei.c */ 292/* namei.c */
304 293