aboutsummaryrefslogtreecommitdiffstats
path: root/fs/hpfs/hpfs_fn.h
diff options
context:
space:
mode:
authorMikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>2011-05-08 14:43:19 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-09 12:04:23 -0400
commit0fe105aa29bed0994991462b58ef61646db0e459 (patch)
tree1aa775e43ff3181c67915a1522ab9ec8f1e62552 /fs/hpfs/hpfs_fn.h
parent7d23ce36e3f52f9b83ac8da49296b73339c8b5b8 (diff)
HPFS: Remove CR/LF conversion option
Remove CR/LF conversion option It is unused anyway. It was used on 2.2 kernels or so. Signed-off-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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