Oh, one more thing. After removed the superflurous switch statement flags will have a value which fixes the warning.
If you look at the flow of code it is impossible for flags to not have a value when it gets to the if statement as the previous switch statement would give it a value. But since that switch statement only catches that one case anyway, it's better to merge the 2 switch statemnets.
On Sat, 24 Jan 2004, Christoph Hellwig wrote:
On Fri, Jan 23, 2004 at 11:31:11PM -0800, Bryan Whitehead wrote:
This fixes a warning on compile of the xfs fs module.
This patch looks very strange. What error do you get without it?