[XFS updates] XFS development tree branch, for-next, updated. v3.6-rc1-4-g643bfc0
xfs at oss.sgi.com
xfs at oss.sgi.com
Thu Aug 16 16:48:39 CDT 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "XFS development tree".
The branch, for-next has been updated
643bfc0 xfs: check for possible overflow in xfs_ioc_trim
c498211 xfs: unlock the AGI buffer when looping in xfs_dialloc
1ed845d xfs: kill struct declarations in xfs_mount.h
a76cccb xfs: fix uninitialised variable in xfs_rtbuf_get()
from 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 643bfc061c47e9c7661324a09fb0a0bc6601e5d6
Author: Tomas Racek <tracek at redhat.com>
Date: Tue Aug 14 10:35:04 2012 +0200
xfs: check for possible overflow in xfs_ioc_trim
If range.start or range.minlen is bigger than filesystem size, return
invalid value error. This fixes possible overflow in BTOBB macro when
passed value was nearly ULLONG_MAX.
Signed-off-by: Tomas Racek <tracek at redhat.com>
Reviewed-by: Dave Chinner <dchinner at redhat.com>
Signed-off-by: Ben Myers <bpm at sgi.com>
commit c4982110ae93d7575503feb81d15e93c0c5f393c
Author: Christoph Hellwig <hch at infradead.org>
Date: Tue Aug 7 02:02:02 2012 -0400
xfs: unlock the AGI buffer when looping in xfs_dialloc
Also update some commens in the area to make the code easier to read.
Signed-off-by: Christoph Hellwig <hch at lst.de>
Reviewed-by: Mark Tinguely <tinguely at sgi.com>
Reviewed-by: Dave Chinner <dchinner at redhat.com>
Signed-off-by: Ben Myers <bpm at sgi.com>
commit 1ed845df60f3f02d4b7cd9fcad79ccb69c289f5c
Author: Alex Elder <elder at inktank.com>
Date: Wed Aug 1 09:56:49 2012 -0500
xfs: kill struct declarations in xfs_mount.h
I noticed that "struct xfs_mount_args" was still declared in
"fs/xfs/xfs_mount.h". That struct doesn't even exist any more (and
is obviously not referenced elsewhere in that header file). While
in there, delete four other unneeded struct declarations in that
file.
Doing so highlights that "fs/xfs/xfs_trace.h" was relying indirectly
on "xfs_mount.h" to be #included in order to declare "struct
xfs_bmbt_irec", so add that declaration to resolve that issue.
Signed-off-by: Alex Elder <elder at inktank.com>
Signed-off-by: Ben Myers <bpm at sgi.com>
commit a76cccbeef9e91b5f799e8853acac1ed1fc833cb
Author: Dave Chinner <dchinner at redhat.com>
Date: Tue Jul 31 14:55:51 2012 +1000
xfs: fix uninitialised variable in xfs_rtbuf_get()
Results in this assert failure in generic/090:
XFS: Assertion failed: *nmap >= 1, file: fs/xfs/xfs_bmap.c, line: 4363
.....
Call Trace:
[<ffffffff814680db>] xfs_bmapi_read+0x6b/0x370
[<ffffffff814b64b2>] xfs_rtbuf_get+0x42/0x130
[<ffffffff814b6f09>] xfs_rtget_summary+0x89/0x120
[<ffffffff814b7bfe>] xfs_rtallocate_extent_size+0xce/0x340
[<ffffffff814b89f0>] xfs_rtallocate_extent+0x240/0x290
[<ffffffff81462c1a>] xfs_bmap_rtalloc+0x1ba/0x340
[<ffffffff81463a65>] xfs_bmap_alloc+0x35/0x40
[<ffffffff8146f111>] xfs_bmapi_allocate+0xf1/0x350
[<ffffffff8146f9de>] xfs_bmapi_write+0x66e/0xa60
[<ffffffff8144538a>] xfs_iomap_write_direct+0x22a/0x3f0
[<ffffffff8143707b>] __xfs_get_blocks+0x38b/0x5d0
[<ffffffff814372d4>] xfs_get_blocks_direct+0x14/0x20
[<ffffffff811b0081>] do_blockdev_direct_IO+0xf71/0x1eb0
[<ffffffff811b1015>] __blockdev_direct_IO+0x55/0x60
[<ffffffff814355ca>] xfs_vm_direct_IO+0x11a/0x1e0
[<ffffffff8112d617>] generic_file_direct_write+0xd7/0x1b0
[<ffffffff8143e16c>] xfs_file_dio_aio_write+0x13c/0x320
[<ffffffff8143e6f2>] xfs_file_aio_write+0x1c2/0x1d0
[<ffffffff81174a07>] do_sync_write+0xa7/0xe0
[<ffffffff81175288>] vfs_write+0xa8/0x160
[<ffffffff81175702>] sys_pwrite64+0x92/0xb0
[<ffffffff81b68f69>] system_call_fastpath+0x16/0x1b
Signed-off-by: Dave Chinner <dchinner at redhat.com>
Signed-off-by: Ben Myers <bpm at sgi.com>
-----------------------------------------------------------------------
Summary of changes:
fs/xfs/xfs_discard.c | 6 ++++--
fs/xfs/xfs_ialloc.c | 17 +++++++++--------
fs/xfs/xfs_mount.h | 5 -----
fs/xfs/xfs_rtalloc.c | 2 +-
fs/xfs/xfs_trace.h | 1 +
5 files changed, 15 insertions(+), 16 deletions(-)
hooks/post-receive
--
XFS development tree
More information about the xfs
mailing list