projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] x86_64: Check for bad dma address in b44 1GB DMA workaround
[powerpc.git]
/
fs
/
ntfs
/
logfile.c
diff --git
a/fs/ntfs/logfile.c
b/fs/ntfs/logfile.c
index
0fd7029
..
4af2ad1
100644
(file)
--- a/
fs/ntfs/logfile.c
+++ b/
fs/ntfs/logfile.c
@@
-515,10
+515,10
@@
BOOL ntfs_check_logfile(struct inode *log_vi, RESTART_PAGE_HEADER **rp)
log_page_size = PAGE_CACHE_SIZE;
log_page_mask = log_page_size - 1;
/*
log_page_size = PAGE_CACHE_SIZE;
log_page_mask = log_page_size - 1;
/*
- * Use
generic
_ffs() instead of ffs() to enable the compiler to
+ * Use
ntfs
_ffs() instead of ffs() to enable the compiler to
* optimize log_page_size and log_page_bits into constants.
*/
* optimize log_page_size and log_page_bits into constants.
*/
- log_page_bits =
generic
_ffs(log_page_size) - 1;
+ log_page_bits =
ntfs
_ffs(log_page_size) - 1;
size &= ~(s64)(log_page_size - 1);
/*
* Ensure the log file is big enough to store at least the two restart
size &= ~(s64)(log_page_size - 1);
/*
* Ensure the log file is big enough to store at least the two restart