fat: Whitespace cleanup only.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user