yura
ef66794423
cleanups
2006-11-20 15:59:14 +00:00
yura
f7fe727b09
80 chars lines long fixes
2006-11-19 20:19:18 +00:00
yura
b33658bc61
cleanups
2006-11-17 22:51:29 +00:00
yura
18dec0543d
add support for read errors in free disk space calculation (szaka)
2006-11-17 22:35:21 +00:00
yura
188cbd9a41
use optarg instead of argv[optind - 1]
2006-11-17 22:14:55 +00:00
yura
7d1016fe97
Treat filenames in POSIX namespace as case insensitive in case of case insensitive mounts.
2006-11-15 23:15:17 +00:00
yura
0ac08318a6
use nice error messages from ntfs-3g
2006-11-13 17:01:53 +00:00
yura
9635a4793e
Disable debug logging by default (seriously increase speed)
2006-11-13 15:38:43 +00:00
yura
cb27c9f616
* Rename MS_{RDONLY,NOATIME} to NTFS_MNT_{RDONLY,NOATIME}.
...
2006-11-12 22:46:50 +00:00
yura
cb5f0a1e94
* fmask=0111 and dmask=0 by default
...
* bit more nice mount messages
2006-11-10 17:23:12 +00:00
yura
28f24fbc2c
revert factoring out ntfs_attr_fill_hole(), agree that it should be refactored,
...
but passing all args as pointers and changing them there (especially
update_from that changes only inside new function, but rollback depends on it
in pwrite)
2006-11-10 16:07:45 +00:00
yura
f2e1ff96d2
Spent really a lot of time applying various "optimizations" from ntfs-3g and
...
finally figured out that ntfs-3g is faster than ntfsmount only because of
3 reasons:
1) turned on noatime option by default
2) ntfs-3g builds without debug output by default
3) the only real optimization: almost always add resident attributes.
However by accident patch in ntfs-3g for 3) breaks several code paths (why
I am not surprised?), thus I rewrote whole ntfs_attr_add() logic.
2006-11-09 21:19:11 +00:00
aia21
025f07a269
Make a little nicer.
2006-11-07 10:37:25 +00:00
yura
d556675a29
Fix typo and build with disabled error handling
2006-11-06 17:11:02 +00:00
yura
45e3b4acd0
upgrade to FUSE 2.6 API
2006-11-06 12:51:44 +00:00
yura
c65bacb25b
ntfsmount: require FUSE version >= 2.6.0 for build. Fixes fusermount
...
lookup problem and allows to drop compatibility code.
2006-11-05 21:40:57 +00:00
yura
116a467dc0
* fix ntfsmount build
...
2006-11-05 14:42:46 +00:00
uvman
76fc32ed87
Fix a memleak. (Szaka)
2006-11-01 22:37:31 +00:00
uvman
be6b5ce977
Factor ntfs_attr_fill_hole() out of ntfs_attr_pwrite(). (Szaka)
2006-11-01 20:20:18 +00:00
uvman
1598a68d67
Fix compilation on environments that one can not assign to "va_list args" (e.g. Debian Alpha). Do so by removing the unused log_reason code. Originally, Szaka asked FlatCap for it but never used it. I've asked Szaka if he is going to use it but he did not reply. I got an implicit answer in the form of ntfs-3g commit. Therefore, commit an updated version of the patch I've sent the Debian package maintainer.
2006-11-01 14:05:09 +00:00
uvman
7d585a0327
Change callers of malloc() to ntfs_malloc() (Szaka). Fix compilition (Yuval).
2006-11-01 13:30:40 +00:00
uvman
483522ec1f
Introduce misc.c - Proud home of functions with no other home, starting with ntfs_[mc]alloc. (Szaka)
2006-11-01 12:31:11 +00:00
yura
1b1a135bbd
one more endian bug in ntfsinfo
2006-10-30 23:23:40 +00:00
uvman
f6d6db57db
Fix wrong error logic that would lead to segfault when malloc fails.
2006-10-30 19:40:56 +00:00
uvman
3e3196133c
Avoid a memory leak on the error code path.
2006-10-30 13:43:09 +00:00
uvman
22108e36a1
More big-endiness fixes. (zhanglinbao, Yuval)
2006-10-30 13:29:45 +00:00
uvman
036e748cb9
I was assuming memmove() would copy byte by byte if it detects a smaller than word gap. Anton pointed out that it doesn't, glibc sources confirm, the C99 standard claims otherwise. Revert the compress.c patch as implementation is more important than specification.
2006-10-29 08:59:21 +00:00
uvman
561cb42743
Move ntfs_index_entry_mark_dirty() from index.h to index.c. (Szaka)
2006-10-29 00:55:45 +00:00
uvman
aa5ee310d0
Changelog entries for non-trivial commits of the last hour.
2006-10-29 00:09:23 +00:00
uvman
fe1405393f
Change ntfs_collate()'s signature to size_t's. Move ntfs_is_collation_rule_supported to the .c file and rewrite it to be shorter.
2006-10-29 00:01:17 +00:00
uvman
b8ecbf7b94
Spelling fix.
2006-10-28 23:46:30 +00:00
uvman
87d87073c7
The periodic 'int is not neccessarily 32bit' fixes.
2006-10-28 23:45:22 +00:00
uvman
15eb2c38a6
constify string argument.
2006-10-28 23:41:41 +00:00
uvman
5c4b9c1056
C99 declarations before code fixes.
2006-10-28 23:40:11 +00:00
uvman
f51136ac9d
Forgot to advance the dest buffer (shame on me)
2006-10-28 23:35:56 +00:00
uvman
c59a3aedbd
memmove() already deals with overlap, is optimized, is ANSI C and only takes one line to call.
2006-10-28 23:15:44 +00:00
uvman
2991c40d90
Remove double-commenting. Why use C++-style comments for multilines anyway?
2006-10-28 23:11:25 +00:00
uvman
8fd26af3fb
Fix memleak. Remove dead code.
2006-10-28 23:08:24 +00:00
uvman
08db1a719b
Aid basic static code checkers to see that ctx can not be null in this code path.
2006-10-28 23:06:49 +00:00
uvman
11c38fa46d
Anton is still the maintainer.
2006-10-27 21:21:20 +00:00
yura
ab3519cbcd
Always instantiate holes
2006-10-27 14:18:02 +00:00
yura
b1583bdce6
Fix several memleaks
2006-10-27 14:15:32 +00:00
uvman
57d1067a22
Oops, edited the wrong file. Add zhanglinbao to CREDITS for his big-endiness testing and fixes. Add my mail address. anti-spam changes (if it helps nowdays). Misc changes. (Yuval)
2006-10-27 13:06:11 +00:00
uvman
83d70bb9b7
Change contact address to -dev. Add Mario to project members. Add zhanglinbao to CREDITS for his big-endiness testing and fixes. Add my mail address. anti-spam changes (if it helps nowdays). Misc changes. (Yuval, Szaka)
2006-10-27 13:00:08 +00:00
uvman
ff55ecb513
Whitespace cleanup
2006-10-27 12:24:29 +00:00
aia21
880529ee5a
Revert part of 1.71: Gratuituous API/ABI change.
2006-10-27 09:05:56 +00:00
aia21
8ddea064b9
Revert 1.13 commit from Yuval: Gratuitous API/ABI change.
2006-10-27 09:04:08 +00:00
uvman
bd1837335b
trace output updates. (Szaka, Yuval)
2006-10-26 20:45:28 +00:00
uvman
ca2fb9a467
Remove inline keywords from static non-one-liners of '.c' files.
2006-10-26 19:10:05 +00:00
uvman
fc7553ad2b
[Inconstant,Damaged] metadata -> Inconsistent metadata
2006-10-25 18:57:15 +00:00