* [-mm patch] make fs/libfs.c:simple_commit_write() static
@ 2007-08-14 21:23 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2007-08-14 21:23 UTC (permalink / raw)
To: Andrew Morton, Nick Piggin; +Cc: linux-kernel
simple_commit_write() can now become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
This patch has been sent on:
- 13 Jul 2007
- 15 Jun 2007
fs/libfs.c | 5 ++---
include/linux/fs.h | 2 --
2 files changed, 2 insertions(+), 5 deletions(-)
--- linux-2.6.22-rc4-mm2/include/linux/fs.h.old 2007-06-14 02:05:36.000000000 +0200
+++ linux-2.6.22-rc4-mm2/include/linux/fs.h 2007-06-14 02:05:43.000000000 +0200
@@ -1973,8 +1973,6 @@
extern int simple_readpage(struct file *file, struct page *page);
extern int simple_prepare_write(struct file *file, struct page *page,
unsigned offset, unsigned to);
-extern int simple_commit_write(struct file *file, struct page *page,
- unsigned offset, unsigned to);
extern int simple_write_begin(struct file *file, struct address_space *mapping,
loff_t pos, unsigned len, unsigned flags,
struct page **pagep, void **fsdata);
--- linux-2.6.22-rc4-mm2/fs/libfs.c.old 2007-06-14 02:05:50.000000000 +0200
+++ linux-2.6.22-rc4-mm2/fs/libfs.c 2007-06-14 02:06:16.000000000 +0200
@@ -371,8 +371,8 @@
return simple_prepare_write(file, page, from, from+len);
}
-int simple_commit_write(struct file *file, struct page *page,
- unsigned from, unsigned to)
+static int simple_commit_write(struct file *file, struct page *page,
+ unsigned from, unsigned to)
{
struct inode *inode = page->mapping->host;
loff_t pos = ((loff_t)page->index << PAGE_CACHE_SHIFT) + to;
@@ -686,7 +686,6 @@
EXPORT_SYMBOL(get_sb_pseudo);
EXPORT_SYMBOL(simple_write_begin);
EXPORT_SYMBOL(simple_write_end);
-EXPORT_SYMBOL(simple_commit_write);
EXPORT_SYMBOL(simple_dir_inode_operations);
EXPORT_SYMBOL(simple_dir_operations);
EXPORT_SYMBOL(simple_empty);
^ permalink raw reply [flat|nested] 2+ messages in thread* 2.6.22-rc4-mm2
@ 2007-06-07 5:03 Andrew Morton
2007-06-14 22:16 ` [-mm patch] make fs/libfs.c:simple_commit_write() static Adrian Bunk
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Morton @ 2007-06-07 5:03 UTC (permalink / raw)
To: linux-kernel
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc4/2.6.22-rc4-mm2/
- Basically a bugfixed version of 2.6.22-rc4-mm1. None of the subsystem
trees were repulled, several bad patches were dropped, a few were fixed.
Boilerplate:
- See the `hot-fixes' directory for any important updates to this patchset.
- To fetch an -mm tree using git, use (for example)
git-fetch git://git.kernel.org/pub/scm/linux/kernel/git/smurf/linux-trees.git tag v2.6.16-rc2-mm1
git-checkout -b local-v2.6.16-rc2-mm1 v2.6.16-rc2-mm1
- -mm kernel commit activity can be reviewed by subscribing to the
mm-commits mailing list.
echo "subscribe mm-commits" | mail majordomo@vger.kernel.org
- If you hit a bug in -mm and it is not obvious which patch caused it, it is
most valuable if you can perform a bisection search to identify which patch
introduced the bug. Instructions for this process are at
http://www.zip.com.au/~akpm/linux/patches/stuff/bisecting-mm-trees.txt
But beware that this process takes some time (around ten rebuilds and
reboots), so consider reporting the bug first and if we cannot immediately
identify the faulty patch, then perform the bisection search.
- When reporting bugs, please try to Cc: the relevant maintainer and mailing
list on any email.
- When reporting bugs in this kernel via email, please also rewrite the
email Subject: in some manner to reflect the nature of the bug. Some
developers filter by Subject: when looking for messages to read.
- Occasional snapshots of the -mm lineup are uploaded to
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/ and are announced on
the mm-commits list.
Changes since 2.6.22-rc4-mm1:
git-acpi.patch
git-alsa.patch
git-arm-master.patch
git-arm.patch
git-avr32.patch
git-cifs.patch
git-cpufreq.patch
git-drm.patch
git-dvb.patch
git-gfs2-nmw.patch
git-hid.patch
git-ieee1394.patch
git-infiniband.patch
git-input.patch
git-kbuild.patch
git-kvm.patch
git-leds.patch
git-libata-all.patch
git-md-accel.patch
git-mips.patch
git-mmc.patch
git-ubi.patch
git-netdev-all.patch
git-net.patch
git-backlight.patch
git-battery.patch
git-ioat.patch
git-nfs.patch
git-nfs-server-cluster-locking-api.patch
git-ocfs2.patch
git-parisc.patch
git-r8169.patch
git-selinux.patch
git-s390.patch
git-sh.patch
git-scsi-misc.patch
git-scsi-rc-fixes.patch
git-scsi-target.patch
git-unionfs.patch
git-watchdog.patch
git-wireless.patch
git-ipwireless_cs.patch
git-newsetup.patch
git-xfs.patch
git-cryptodev.patch
git-xtensa.patch
git-gccbug.patch
git trees
+char-stallion-dont-fail-with-less-than-max-panels.patch
+char-stallion-alloc-tty-before-pci-devices-init.patch
+char-stallion-proper-fail-return-values.patch
+frv-build-fix.patch
+uml-get-declaration-of-simple_strtoul.patch
+isdn-diva-fix-section-mismatch.patch
2.6.22 queue
+git-acpi-disable-acpi_processor_throttling_seq_show.patch
Attempt to stop acpi oopsing
+toshica_acpi-fix-section-mismatch-in-allyesconfig.patch
section fix
+revert-gregkh-driver-block-device.patch
Revert dud patch from driver tree
+mac80211-fix-1-bit-bitfield-to-unsigned.patch
wireless sparse fix
+x86_64-acpi-disable-srat-when-numa-emulation-succeeds-fix.patch
Fix x86_64-acpi-disable-srat-when-numa-emulation-succeeds.patch
-mmconfig-validate-against-acpi-motherboard-resources.patch
Dropped due to compilation errors
+paravirt-helper-to-disable-all-io-space-fix-2.patch
+paravirt-helper-to-disable-all-io-space-fix-3.patch
Fix paravirt-helper-to-disable-all-io-space-fix.patch
+sata_promise-use-tf-interface-for-polling-nodata-commands.patch
SATA Promise fix
+serial-convert-early_uart-to-earlycon-for-8250-fix.patch
Fix serial-convert-early_uart-to-earlycon-for-8250.patch for ia64
-slub-use-ilog2-instead-of-series-of-constant-comparisons.patch
Dropped due to gcc-3.3.3 bustage
+mm-merge-nopfn-into-fault-spufs-fix.patch
Fix mm-merge-nopfn-into-fault.patch compile
+pm-introduce-hibernation-and-suspend-notifiers-fix-fix.patch
Fix pm-introduce-hibernation-and-suspend-notifiers.patch compile again
-define-new-percpu-interface-for-shared-data.patch
-use-the-new-percpu-interface-for-shared-data.patch
Dropped because it caused hangs in Michal's testing
+undeprecate-raw-driver.patch
+hfsplus-change-kmalloc-memset-to-kzalloc.patch
+submitchecklist-update-fix-spelling-error.patch
+fix-typo-in-prefetchh.patch
Misc fixes
+spi_mpc83xxc-underclocking-hotfix.patch
Fix an SPI driver
-sane-irq-initialization-in-sedlbauer-hisax.patch
+sane-irq-initialization-in-sedlbauer-hisax.patch
New, fixed version of this ISDN patch
+matroxfb-color-setting-fixes-fix.patch
fbdev fix
+schedstats-fix-printk-format.patch
printk fix
-arch-personality-independent-stack-top.patch
-audit-rework-execve-audit.patch
-audit-rework-execve-audit-fix.patch
-mm-move_page_tables_up.patch
-mm-variable-length-argument-support.patch
-mm-variable-length-argument-support-fix.patch
Dropped due to build problems and some BUG_ON() triggerings. Will be
updated.
+drivers-edac-new-intel-5000-mc-driver-fix.patch
Fix drivers-edac-new-intel-5000-mc-driver.patch
+containersv10-basic-container-framework-fix-2.patch
Fix boot-time hangs caused by
containersv10-basic-container-framework-fix.patch
All 1208 patches:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc4/2.6.22-rc4-mm2/patch-list
^ permalink raw reply [flat|nested] 2+ messages in thread* [-mm patch] make fs/libfs.c:simple_commit_write() static
2007-06-07 5:03 2.6.22-rc4-mm2 Andrew Morton
@ 2007-06-14 22:16 ` Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2007-06-14 22:16 UTC (permalink / raw)
To: Andrew Morton, Nick Piggin; +Cc: linux-kernel
simple_commit_write() can now become static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
fs/libfs.c | 5 ++---
include/linux/fs.h | 2 --
2 files changed, 2 insertions(+), 5 deletions(-)
--- linux-2.6.22-rc4-mm2/include/linux/fs.h.old 2007-06-14 02:05:36.000000000 +0200
+++ linux-2.6.22-rc4-mm2/include/linux/fs.h 2007-06-14 02:05:43.000000000 +0200
@@ -1973,8 +1973,6 @@
extern int simple_readpage(struct file *file, struct page *page);
extern int simple_prepare_write(struct file *file, struct page *page,
unsigned offset, unsigned to);
-extern int simple_commit_write(struct file *file, struct page *page,
- unsigned offset, unsigned to);
extern int simple_write_begin(struct file *file, struct address_space *mapping,
loff_t pos, unsigned len, unsigned flags,
struct page **pagep, void **fsdata);
--- linux-2.6.22-rc4-mm2/fs/libfs.c.old 2007-06-14 02:05:50.000000000 +0200
+++ linux-2.6.22-rc4-mm2/fs/libfs.c 2007-06-14 02:06:16.000000000 +0200
@@ -371,8 +371,8 @@
return simple_prepare_write(file, page, from, from+len);
}
-int simple_commit_write(struct file *file, struct page *page,
- unsigned from, unsigned to)
+static int simple_commit_write(struct file *file, struct page *page,
+ unsigned from, unsigned to)
{
struct inode *inode = page->mapping->host;
loff_t pos = ((loff_t)page->index << PAGE_CACHE_SHIFT) + to;
@@ -686,7 +686,6 @@
EXPORT_SYMBOL(get_sb_pseudo);
EXPORT_SYMBOL(simple_write_begin);
EXPORT_SYMBOL(simple_write_end);
-EXPORT_SYMBOL(simple_commit_write);
EXPORT_SYMBOL(simple_dir_inode_operations);
EXPORT_SYMBOL(simple_dir_operations);
EXPORT_SYMBOL(simple_empty);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-14 21:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-14 21:23 [-mm patch] make fs/libfs.c:simple_commit_write() static Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2007-06-07 5:03 2.6.22-rc4-mm2 Andrew Morton
2007-06-14 22:16 ` [-mm patch] make fs/libfs.c:simple_commit_write() static Adrian Bunk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.