From: Jan Blunck <jblunck@suse.de>
To: Linux-Kernel Mailinglist <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Frederic Weisbecker <fweisbec@gmail.com>,
Arnd Bergmann <arnd@arndb.de>, Alan Cox <alan@linux.intel.com>,
Jan Blunck <jblunck@suse.de>
Subject: [PATCH 00/12] Multiple file->f_pos/nonseekable_open/llseek fixes (reposy)
Date: Fri, 9 Apr 2010 16:00:43 +0200 [thread overview]
Message-ID: <1270821655-4368-1-git-send-email-jblunck@suse.de> (raw)
This is a repost of a patch series I already posted in November 2009. This time
I left out the patch that removes the BKL from default_llseek() since this
should go through Frederic's tree. This series mostly consists of fixing direct
modifications of file->f_pos and some additional cases where nonseekable_open()
can be used. The rest of this series is unrelated to but a preparation for the
BKL removal from default_llseek().
Thanks,
Jan
Jan Blunck (12):
osst: Update ppos instead of using file->f_pos
flash_read should update ppos instead of file->f_pos
eeprom_read()/eeprom_write() should update ppos instead of
file->f_pos
frv: remove "struct file *" argument from sysctl ->proc_handler
mISDN: Remove unnecessary test on f_pos
zcrypt: Use nonseekable_open()
rtc-m41t80: Use nonseekable_open()
Introduce noop_llseek()
osst: Use noop_llseek() instead of default_llseek()
st: Use noop_llseek() instead of default_llseek()
Do not fallback to default_llseek() when readdir() uses BKL
Documentation/filesystems/Locking: Update documentation on llseek()
wrt BKL
Documentation/filesystems/Locking | 5 +++--
arch/cris/arch-v10/drivers/eeprom.c | 34 +++++++++++++---------------------
arch/frv/kernel/sysctl.c | 18 ++++++++++--------
drivers/isdn/mISDN/timerdev.c | 2 --
drivers/rtc/rtc-m41t80.c | 6 +-----
drivers/s390/crypto/zcrypt_api.c | 2 +-
drivers/sbus/char/flash.c | 6 +++---
drivers/scsi/osst.c | 9 +++++----
drivers/scsi/st.c | 1 +
fs/autofs/root.c | 1 +
fs/freevxfs/vxfs_lookup.c | 2 ++
fs/isofs/dir.c | 1 +
fs/ncpfs/dir.c | 1 +
fs/qnx4/dir.c | 1 +
fs/read_write.c | 17 +++++++++++++++++
fs/reiserfs/dir.c | 1 +
fs/smbfs/dir.c | 1 +
fs/udf/dir.c | 1 +
include/linux/fs.h | 1 +
19 files changed, 64 insertions(+), 46 deletions(-)
next reply other threads:[~2010-04-09 14:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-09 14:00 Jan Blunck [this message]
2010-04-09 14:00 ` [PATCH 01/12] osst: Update ppos instead of using file->f_pos Jan Blunck
2010-04-09 14:00 ` [PATCH 02/12] flash_read should update ppos instead of file->f_pos Jan Blunck
2010-04-09 14:00 ` [PATCH 03/12] eeprom_read()/eeprom_write() " Jan Blunck
2010-04-09 14:00 ` [PATCH 04/12] frv: remove "struct file *" argument from sysctl ->proc_handler Jan Blunck
2010-04-09 16:23 ` Alexey Dobriyan
2010-04-12 8:11 ` Jan Blunck
2010-04-09 14:00 ` [PATCH 05/12] mISDN: Remove unnecessary test on f_pos Jan Blunck
2010-04-09 14:00 ` [PATCH 06/12] zcrypt: Use nonseekable_open() Jan Blunck
2010-04-09 14:00 ` [PATCH 07/12] rtc-m41t80: " Jan Blunck
2010-04-09 14:00 ` [PATCH 08/12] Introduce noop_llseek() Jan Blunck
2010-04-09 14:00 ` [PATCH 09/12] osst: Use noop_llseek() instead of default_llseek() Jan Blunck
2010-04-09 14:00 ` [PATCH 10/12] st: " Jan Blunck
2010-04-09 14:00 ` [PATCH 11/12] Do not fallback to default_llseek() when readdir() uses BKL Jan Blunck
2010-04-09 14:00 ` [PATCH 12/12] Documentation/filesystems/Locking: Update documentation on llseek() wrt BKL Jan Blunck
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=1270821655-4368-1-git-send-email-jblunck@suse.de \
--to=jblunck@suse.de \
--cc=akpm@linux-foundation.org \
--cc=alan@linux.intel.com \
--cc=arnd@arndb.de \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®