projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33a266d
)
[PATCH] Make XFS use BH_Unwritten and BH_Delay correctly
author
David Chinner
<
[email protected]
>
Mon, 12 Feb 2007 08:51:42 +0000
(
00:51
-0800)
committer
Linus Torvalds
<
[email protected]
>
Mon, 12 Feb 2007 17:48:27 +0000
(09:48 -0800)
Don't hide buffer_unwritten behind buffer_delay() and remove the hack that
clears unexpected buffer_unwritten() states now that it can't happen.
Signed-off-by: Dave Chinner <
[email protected]
>
Acked-by: Christoph Hellwig <
[email protected]
>
Cc: Timothy Shimmin <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/xfs/linux-2.6/xfs_aops.c
patch
|
blob
|
history
diff --git
a/fs/xfs/linux-2.6/xfs_aops.c
b/fs/xfs/linux-2.6/xfs_aops.c
index f3cc4ab20ba03d824991bd9168331c1f2cbb1c8e..143ffc851c9d21376b1c928394544d59443b87e9 100644
(file)
--- a/
fs/xfs/linux-2.6/xfs_aops.c
+++ b/
fs/xfs/linux-2.6/xfs_aops.c
@@
-56,8
+56,6
@@
xfs_count_page_state(
do {
if (buffer_uptodate(bh) && !buffer_mapped(bh))
(*unmapped) = 1;
- else if (buffer_unwritten(bh) && !buffer_delay(bh))
- clear_buffer_unwritten(bh);
else if (buffer_unwritten(bh))
(*unwritten) = 1;
else if (buffer_delay(bh))
@@
-1272,7
+1270,6
@@
__xfs_get_blocks(
if (direct)
bh_result->b_private = inode;
set_buffer_unwritten(bh_result);
- set_buffer_delay(bh_result);
}
}