diff options
author | Miles Bader <miles@gnu.org> | 1995-04-16 20:13:11 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-04-16 20:13:11 +0000 |
commit | e06ae85fae7a468dd2707e5fc9397f4622242ece (patch) | |
tree | f3cd17464a007f92c746c5f489a1875abb16d649 /ext2fs/truncate.c | |
parent | 1c030e8c79d83594f1204ea43b789e530dfbece7 (diff) |
Formerly truncate.c.~7~
Diffstat (limited to 'ext2fs/truncate.c')
-rw-r--r-- | ext2fs/truncate.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext2fs/truncate.c b/ext2fs/truncate.c index 92c907b2..8abffe06 100644 --- a/ext2fs/truncate.c +++ b/ext2fs/truncate.c @@ -296,11 +296,11 @@ trunc_tindirect (struct node * node, unsigned long length) static void force_delayed_copies (struct node *node, off_t length) { - spin_lock (&node2pagelock); + spin_lock (&node_to_page_lock); upi = np->dn->fileinfo; if (upi) pager_reference (upi->p); - spin_unlock (&node2pagelock); + spin_unlock (&node_to_page_lock); if (upi) { @@ -318,11 +318,11 @@ force_delayed_copies (struct node *node, off_t length) static void enable_delayed_copies (struct node *node) { - spin_lock (&node2pagelock); + spin_lock (&node_to_page_lock); upi = np->dn->fileinfo; if (upi) pager_reference (upi->p); - spin_unlock (&node2pagelock); + spin_unlock (&node_to_page_lock); if (upi) { pager_change_attributes (upi->p, MAY_CACHE, MEMORY_OBJECT_COPY_DELAY, 0); |