Messages in this thread |  | | Date | Sun, 28 Oct 2012 00:19:04 +0800 | | Subject | Re: [PATCH 5/5] debugfs: remove goto in debugfs_remount() | | From | Yan Hong <> |
| |
2012/10/27 Greg KH <gregkh@linuxfoundation.org>: > On Sat, Oct 27, 2012 at 04:05:29PM +0800, Yan Hong wrote: >> Simple code clean to remove goto. > > There is nothing wrong with gotos on error paths, so this one should > stay. > > greg k-h
I thought we use goto on error path because there is no other elegant ways to do the things, but it sounds like goto is still welcome and preferable when we are not in this case. Anyway, this is a simple clean, I do not insist on it.
Thanks
|  |