linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hugh Dickins <hugh@veritas.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Alexander Viro <viro@math.psu.edu>, Alan Cox <alan@redhat.com>,
	bfennema@falcon.csc.calpoly.edu, dave@trylinux.com,
	linux_udf@hootie.lvld.hp.com,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] udf writepage UnlockPage
Date: Thu, 18 Jan 2001 16:39:18 +0000 (GMT)	[thread overview]
Message-ID: <Pine.LNX.4.21.0101181629260.4091-100000@localhost.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.21.0101152017450.1032-100000@localhost.localdomain>

Although fs/udf's args to writepage() were updated in 2.4.0-test12,
its page unlocking was overlooked.  udf_adinicb_writepage() should
now UnlockPage, udf_expand_file_adinicb() should not now UnlockPage
after udf_writepage i.e. block_write_full_page.  Al Viro posted a
patch for the latter, still lurking in Alan's -ac9; the former seems
to have gone unnoticed.  Warning: from source inspection: untested.

Hugh

--- linux-2.4.1-pre8/fs/udf/file.c	Fri Dec 29 22:07:57 2000
+++ linux/fs/udf/file.c	Thu Jan 18 15:42:11 2001
@@ -86,6 +86,7 @@
 	brelse(bh);
 	SetPageUptodate(page);
 	kunmap(page);
+	UnlockPage(page);
 	return 0;
 }
 
--- linux-2.4.1-pre8/fs/udf/inode.c	Tue Dec  5 17:41:51 2000
+++ linux/fs/udf/inode.c	Thu Jan 18 15:43:50 2001
@@ -203,7 +203,6 @@
 	udf_release_data(bh);
 
 	inode->i_data.a_ops->writepage(page);
-	UnlockPage(page);
 	page_cache_release(page);
 
 	mark_inode_dirty(inode);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  parent reply	other threads:[~2001-01-18 16:43 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-11  4:58 Floating point broken between 2.4.0-ac4 and -ac5? junio
2001-01-11 12:42 ` Alan Cox
2001-01-10 13:31   ` 2.4.1-pre1 breaks XFree 4.0.2 and "w" Udo A. Steinberg
2001-01-10 17:15     ` Ingo Oeser
2001-01-10 17:07       ` Udo A. Steinberg
2001-01-10 20:00         ` Jonathan Hudson
2001-01-11  8:41         ` Linus Torvalds
2001-01-11 12:54           ` Alan Cox
     [not found]         ` <200101110841.AAA01652@penguin.transmeta.com>
2001-01-11 10:05           ` Udo A. Steinberg
2001-01-11 10:11             ` Andi Kleen
2001-01-11 10:31               ` Udo A. Steinberg
2001-01-11 17:36                 ` Andrea Arcangeli
2001-01-11 17:46                   ` Andrea Arcangeli
2001-01-11 17:48                     ` Andrea Arcangeli
2001-01-11 18:53                       ` Andrea Arcangeli
2001-01-12  2:08                     ` Linus Torvalds
2001-01-12  3:45                       ` Andrea Arcangeli
2001-01-12  4:26                         ` Linus Torvalds
2001-01-12 16:02                           ` Andrea Arcangeli
2001-01-12 16:42                             ` Richard A Nelson
2001-01-12 17:05                               ` Andrea Arcangeli
2001-01-12 17:35                                 ` Linus Torvalds
2001-01-12 17:54                                   ` Alan Cox
2001-01-12 18:35                                     ` Linus Torvalds
2001-01-12 18:57                                       ` Andrea Arcangeli
2001-01-12 19:19                                         ` Laramie Leavitt
2001-01-12 20:39                                         ` Mark Hahn
2001-01-12 18:24                                   ` Andrea Arcangeli
2001-01-15 20:33                           ` [PATCH] i386/setup.c cpuinfo notsc Hugh Dickins
2001-01-15 20:48                             ` H. Peter Anvin
2001-01-15 21:38                               ` Maciej W. Rozycki
2001-01-15 21:41                                 ` H. Peter Anvin
2001-01-15 21:51                                   ` Maciej W. Rozycki
2001-01-16  3:47                                     ` H. Peter Anvin
2001-01-15 21:34                             ` Maciej W. Rozycki
2001-01-18 16:39                             ` Hugh Dickins [this message]
2001-01-28 14:43                               ` [PATCH] udf writepage UnlockPage Hugh Dickins
2001-01-12  4:28                       ` 2.4.1-pre1 breaks XFree 4.0.2 and "w" TimO
2001-01-12  6:06                       ` Udo A. Steinberg
2001-01-12  9:47                       ` Harold Oga
2001-01-11 17:16     ` Floating point broken between 2.4.0-ac4 and -ac5? junio
2001-01-12  3:27 ` Aaron Lehmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.21.0101181629260.4091-100000@localhost.localdomain \
    --to=hugh@veritas.com \
    --cc=alan@redhat.com \
    --cc=bfennema@falcon.csc.calpoly.edu \
    --cc=dave@trylinux.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux_udf@hootie.lvld.hp.com \
    --cc=torvalds@transmeta.com \
    --cc=viro@math.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).