On Wed, Jun 12, 2013 at 09:06:27AM -0400, Brian Foster wrote: > On 06/12/2013 06:22 AM, Dave Chinner wrote: > > Hi folks, > > > > This is an update of my current patch queue for the 3.11 release > > cycle. This series starts on top of the patch series I posted for > > 3.10-rc6, and builds upon the series previously posted last week: > > > > http://oss.sgi.com/pipermail/xfs/2013-June/027040.html > > > > Just a heads up, I applied this to tot and hit a few minor build errors: > > fs/xfs/xfs_dir2_readdir.c:40:1: error: static declaration of > ‘xfs_dir2_sf_getdents’ follows non-static declaration > In file included from fs/xfs/xfs_dir2_readdir.c:34:0: > fs/xfs/xfs_dir2_priv.h:127:12: note: previous declaration of > ‘xfs_dir2_sf_getdents’ was here > fs/xfs/xfs_dir2_readdir.c:143:1: error: static declaration of > ‘xfs_dir2_block_getdents’ follows non-static declaration > In file included from fs/xfs/xfs_dir2_readdir.c:34:0: > fs/xfs/xfs_dir2_priv.h:32:12: note: previous declaration of > ‘xfs_dir2_block_getdents’ was here > fs/xfs/xfs_dir2_readdir.c:455:1: error: static declaration of > ‘xfs_dir2_leaf_getdents’ follows non-static declaration > In file included from fs/xfs/xfs_dir2_readdir.c:34:0: > fs/xfs/xfs_dir2_priv.h:68:12: note: previous declaration of > ‘xfs_dir2_leaf_getdents’ was here > > In each case, it looks like patch 14/27 (xfs: move getdents code into > it's own file) moved the associated function and added a STATIC to the > function definition. Given the title of the patch, I removed the > STATIC's and moved on to this one: > > fs/xfs/xfs_dir2_data.c:39:1: error: static declaration of > ‘xfs_dir2_data_freefind’ follows non-static declaration > In file included from fs/xfs/xfs_dir2_data.c:31:0: > fs/xfs/xfs_dir2.h:125:35: note: previous declaration of > ‘xfs_dir2_data_freefind’ was here > > That one appears to be due to 15/27 (xfs: reshuffle dir2 definitions > around for userspace) adding a header declaration to a static function. > > diff appended for reference. Oh, I haven't build a non-debug version of the kernel. My bad. I'll fix it up. Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs