xfs; for-next branch updated to 31bb236
Hi folks,
The for-next branch of the xfs kernel repository at
git://git.kernel.org/pub/scm/linux/kernel/git/dgc/linux-xfs.git
has just been updated.
The new head of the for-next branch is commit:
31bb236 Merge branch 'xfs-misc-fixes-4.6-2' into for-next
New Commits:
Christoph Hellwig (1):
[a7e5d03] xfs: remove xfs_trans_get_block_res
Colin Ian King (1):
[5d518bd] xfs: fix format specifier , should be %llx and not %llu
Dave Chinner (1):
[31bb236] Merge branch 'xfs-misc-fixes-4.6-2' into for-next
Eric Sandeen (3):
[2e74af0] xfs: convert mount option parsing to tokens [a08ee40] xfs: sanitize remount options [12c3f05] xfs: fix up inode32/64 (re)mount handling
Mateusz Guzik (1):
[2e83b79] xfs: fix two memory leaks in xfs_attr_list.c error paths
Code Diffstat:
fs/xfs/libxfs/xfs_bmap.c | 6 +- fs/xfs/libxfs/xfs_bmap_btree.c | 4 +- fs/xfs/xfs_attr_list.c | 19 +- fs/xfs/xfs_discard.c | 2 +- fs/xfs/xfs_mount.c | 20 +- fs/xfs/xfs_mount.h | 5 +- fs/xfs/xfs_super.c | 525 +++++++++++++++++++++++-------------------- fs/xfs/xfs_super.h | 4 +- fs/xfs/xfs_trans.h | 1 - 9 files changed, 304 insertions(+), 282 deletions(-)
Signature · 2 lines
Dave Chinner [email protected]
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 2 lines
Mateusz Guzik (1):
[2e83b79] xfs: fix two memory leaks inxfs_attr_list.cerror paths
This didn't seem to address the comment about using a goto for error handling?
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 5 lines · Christoph Hellwig
Quoted 2 lines
Mateusz Guzik (1):
[2e83b79] xfs: fix two memory leaks inxfs_attr_list.cerror pathsThis didn't seem to address the comment about using a goto for error handling?
I looked at it, and there isn't a case for a goto. The allocated memory is in a variable local to the if branch where the leak was found. Using a jump-based error handling stack means making all those variables global, and then having to make the freeing of it conditional. Simply didn't seem worth it to me.
Cheers,
Dave.
Signature · 7 lines
Dave Chinner [email protected] _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs