=====================================
--- 2.5.19/fs/minix/dir.c~more-dirsync Sat Jun 1 01:18:14 2002
+++ 2.5.19-akpm/fs/minix/dir.c Sat Jun 1 01:18:14 2002
@@ -49,7 +49,7 @@ static int dir_commit_chunk(struct page
struct inode *dir = (struct inode *)page->mapping->host;
int err = 0;
page->mapping->a_ops->commit_write(NULL, page, from, to);
- if (IS_SYNC(dir))
+ if (IS_DIRSYNC(dir))
err = write_one_page(page, 1);
else
unlock_page(page);
--- 2.5.19/fs/sysv/dir.c~more-dirsync Sat Jun 1 01:18:14 2002
+++ 2.5.19-akpm/fs/sysv/dir.c Sat Jun 1 01:18:14 2002
@@ -42,7 +42,7 @@ static int dir_commit_chunk(struct page
int err = 0;
page->mapping->a_ops->commit_write(NULL, page, from, to);
- if (IS_SYNC(dir))
+ if (IS_DIRSYNC(dir))
err = write_one_page(page, 1);
else
unlock_page(page);
--- 2.5.19/fs/ufs/dir.c~more-dirsync Sat Jun 1 01:18:14 2002
+++ 2.5.19-akpm/fs/ufs/dir.c Sat Jun 1 01:18:14 2002
@@ -356,7 +356,7 @@ void ufs_set_link(struct inode *dir, str
dir->i_version = ++event;
de->d_ino = cpu_to_fs32(dir->i_sb, inode->i_ino);
mark_buffer_dirty(bh);
- if (IS_SYNC(dir)) {
+ if (IS_DIRSYNC(dir)) {
ll_rw_block (WRITE, 1, &bh);
wait_on_buffer(bh);
}
@@ -457,7 +457,7 @@ int ufs_add_link(struct dentry *dentry,
de->d_ino = cpu_to_fs32(sb, inode->i_ino);
ufs_set_de_type(sb, de, inode->i_mode);
mark_buffer_dirty(bh);
- if (IS_SYNC(dir)) {
+ if (IS_DIRSYNC(dir)) {
ll_rw_block (WRITE, 1, &bh);
wait_on_buffer (bh);
}
@@ -508,7 +508,7 @@ int ufs_delete_entry (struct inode * ino
inode->i_ctime = inode->i_mtime = CURRENT_TIME;
mark_inode_dirty(inode);
mark_buffer_dirty(bh);
- if (IS_SYNC(inode)) {
+ if (IS_DIRSYNC(inode)) {
ll_rw_block(WRITE, 1, &bh);
wait_on_buffer(bh);
}
-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/