fat: Whitespace cleanup only.

This commit is contained in:
Michael Lotz
2015-07-04 23:32:06 +02:00
parent 59891eb49c
commit de3763846d
3 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -182,8 +182,8 @@ _next_dirent_(struct diri *iter, struct _dirent_info_ *oinfo, char *filename,
// process short name
if (start_index == 0xffff) {
start_index = iter->current_index;
// korli : seen on FreeBSD /src/sys/fs/msdosfs/direntry.h
start_index = iter->current_index;
// korli : seen on FreeBSD /src/sys/fs/msdosfs/direntry.h
msdos_to_utf8(buffer, (uchar *)filename, len, buffer[0xc] & 0x18);
}
+3 -3
View File
@@ -1312,9 +1312,9 @@ fs_volume_ops gFATVolumeOps = {
/* query operations */
NULL, //&fs_open_query,
NULL, //&fs_close_query,
NULL, //&fs_free_query_cookie,
NULL, //&fs_read_query,
NULL, //&fs_rewind_query,
NULL, //&fs_free_query_cookie,
NULL, //&fs_read_query,
NULL, //&fs_rewind_query,
};
+5 -5
View File
@@ -40,9 +40,9 @@
#define IS_INVALID_VNID(vnid) \
((!IS_DIR_CLUSTER_VNID((vnid)) && \
!IS_DIR_INDEX_VNID((vnid)) && \
!IS_ARTIFICIAL_VNID((vnid))) || \
((vnid) & INVALID_VNID_BITS_MASK))
!IS_DIR_INDEX_VNID((vnid)) && \
!IS_ARTIFICIAL_VNID((vnid))) || \
((vnid) & INVALID_VNID_BITS_MASK))
#define GENERATE_DIR_INDEX_VNID(dircluster, index) \
(DIR_INDEX_VNID_BITS | ((ino_t)(dircluster) << 32) | (index))
@@ -64,8 +64,8 @@
typedef struct vnode {
ino_t vnid; // self id
ino_t dir_vnid; // parent vnode id (directory containing entry)
ino_t vnid; // self id
ino_t dir_vnid; // parent vnode id (directory containing entry)
void *cache;
void *file_map;