]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/page_io.c: work around gcc bug
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 24 Apr 2014 23:03:55 +0000 (09:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 30 Apr 2014 05:42:53 +0000 (15:42 +1000)
commit0740d392527beeed840d8f270ad6360a77d1b47c
tree534e89659c23430c2ad79cbf505d527ecf9299b2
parent42945d2c58b411c46b6f2a19d282ea574c0940d1
mm/page_io.c: work around gcc bug

gcc-4.4.4 (at least) screws up this initialization.

mm/page_io.c: In function '__swap_writepage':
mm/page_io.c:277: error: unknown field 'bvec' specified in initializer
mm/page_io.c:278: warning: excess elements in struct initializer
mm/page_io.c:278: warning: (near initialization for 'from')

Fixes f990bbc9bfa3cbd2d ("bio_vec-backed iov_iter").

Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_io.c