lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 30 Oct 2008 17:48:14 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Randy Dunlap <randy.dunlap@...cle.com>
Cc:	linux-kernel@...r.kernel.org, linux-mm@...ck.org,
	Dmitri Monakhov <dmonakhov@...nvz.org>,
	Takashi Sato <t-sato@...jp.nec.com>
Subject: Re: mmotm 2008-10-30-02-23 uploaded (mm/ + fs/)

On Thu, 30 Oct 2008 17:27:00 -0700
Randy Dunlap <randy.dunlap@...cle.com> wrote:

> On Thu, 30 Oct 2008 02:24:25 -0700 akpm@...ux-foundation.org wrote:
> 
> > The mm-of-the-moment snapshot 2008-10-30-02-23 has been uploaded to
> > 
> >    http://userweb.kernel.org/~akpm/mmotm/
> > 
> > It contains the following patches against 2.6.28-rc2:
> 
> 
> mm/filemap.c: In function '__generic_file_aio_write_nolock':
> mm/filemap.c:2347: error: 'DIO_LOCKING' undeclared (first use in this function)
> mm/filemap.c: In function 'generic_file_aio_write_nolock':
> mm/filemap.c:2421: error: 'DIO_OWN_LOCKING' undeclared (first use in this function)
> mm/filemap.c: In function 'generic_file_aio_write':
> mm/filemap.c:2446: error: 'DIO_LOCKING' undeclared (first use in this function)

fs-truncate-blocks-outside-i_size-after-generic_file_direct_write-error.patch,
CONFIG_BLOCK=n.

That patch is a bit messy, carrying direct-io internals over into core
pagecache functions.  Dmitry, can we have another look at how to do
that?  Perhaps do the truncation back in direct-io.c?

> 
> fs/ioctl.c: In function 'ioctl_fsfreeze':
> fs/ioctl.c:460: error: implicit declaration of function 'freeze_bdev'
> fs/ioctl.c:460: warning: assignment makes pointer from integer without a cast
> fs/ioctl.c: In function 'ioctl_fsthaw':
> fs/ioctl.c:478: error: implicit declaration of function 'thaw_bdev'
> 

filesystem-freeze-implement-generic-freeze-feature.patch,
CONFIG_BLOCK=n.  Dunno, perhaps provide do-nothing stubs for
freeze_bdev() and thaw_bdev(), I guess.

--- a/include/linux/buffer_head.h~filesystem-freeze-implement-generic-freeze-feature-fix
+++ a/include/linux/buffer_head.h
@@ -345,6 +345,15 @@ static inline int remove_inode_buffers(s
 static inline int sync_mapping_buffers(struct address_space *mapping) { return 0; }
 static inline void invalidate_bdev(struct block_device *bdev) {}
 
+static inline struct super_block *freeze_bdev(struct block_device *sb)
+{
+	return NULL;
+}
+
+static inline int thaw_bdev(struct block_device *bdev, struct super_block *sb)
+{
+	return 0;
+}
 
 #endif /* CONFIG_BLOCK */
 #endif /* _LINUX_BUFFER_HEAD_H */
_


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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ