git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
fs
/
ntfs
/
compress.c
diff --git
a/fs/ntfs/compress.c
b/fs/ntfs/compress.c
index
25d2410
..
d98daf5
100644
(file)
--- a/
fs/ntfs/compress.c
+++ b/
fs/ntfs/compress.c
@@
-67,7
+67,7
@@
static DEFINE_SPINLOCK(ntfs_cb_lock);
/**
* allocate_compression_buffers - allocate the decompression buffers
*
/**
* allocate_compression_buffers - allocate the decompression buffers
*
- * Caller has to hold the ntfs_lock
semaphore
.
+ * Caller has to hold the ntfs_lock
mutex
.
*
* Return 0 on success or -ENOMEM if the allocations failed.
*/
*
* Return 0 on success or -ENOMEM if the allocations failed.
*/
@@
-84,7
+84,7
@@
int allocate_compression_buffers(void)
/**
* free_compression_buffers - free the decompression buffers
*
/**
* free_compression_buffers - free the decompression buffers
*
- * Caller has to hold the ntfs_lock
semaphore
.
+ * Caller has to hold the ntfs_lock
mutex
.
*/
void free_compression_buffers(void)
{
*/
void free_compression_buffers(void)
{
@@
-600,7
+600,7
@@
do_next_cb:
rl = NULL;
for (vcn = start_vcn, start_vcn += cb_clusters; vcn < start_vcn;
vcn++) {
rl = NULL;
for (vcn = start_vcn, start_vcn += cb_clusters; vcn < start_vcn;
vcn++) {
-
BOOL is_retry = FALSE
;
+
bool is_retry = false
;
if (!rl) {
lock_retry_remap:
if (!rl) {
lock_retry_remap:
@@
-626,7
+626,7
@@
lock_retry_remap:
break;
if (is_retry || lcn != LCN_RL_NOT_MAPPED)
goto rl_err;
break;
if (is_retry || lcn != LCN_RL_NOT_MAPPED)
goto rl_err;
- is_retry =
TRUE
;
+ is_retry =
true
;
/*
* Attempt to map runlist, dropping lock for the
* duration.
/*
* Attempt to map runlist, dropping lock for the
* duration.