Return failure error if something fails in xfs_growfs
PATCH 1/1 Return failure error if something fails in xfs_growfs
A very simple patch that return error rather than success if something fails in xfs_growfs.
Barry.
xfsprogs/growfs/xfs_growfs.c +1 -1
@@ -448,5 +448,5 @@if (geo.rtextsize != ngeo.rtextsize)printf (_ ("realtime extent size changed from %d to %d\n" ), geo.rtextsize, ngeo.rtextsize); -exit (0 ); +exit (error); }
Quoted 1 line · Barry Naujok
...
Makes sense & looks correct in xdiff. :)
cheers.
Signature · 1 line
Nathan
Quoted 4 lines · Barry Naujok
A very simple patch that return error rather than success if something fails in
xfs_growfs.Barry.
Try as I might to follow the grand linux tradition of finding some minor stylistic point to complain about (whitespace, formatting, choice of variable names, etc) I could not. So, looks good to me. :-)
-Eric