Re: [PATCH]loop cleanup in fs/namespace.c - repost

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dmitri Vorobiev <dmitri.vorobiev@...>
Cc: <linux-fsdevel@...>, Linux-kernel <linux-kernel@...>
Date: Wednesday, November 21, 2007 - 3:06 pm

> The patch given below replaces the goto-loop by a while-based one.

That certainly looks fine.  I would also replace the 'return' with
'break', but I guess that's more of a question of personal preference.


This doesn't look fine.  Did you test this?

mntput_no_expire() is called from mntput() which is an inline function
in mount.h.  So lots of callers of mntput() in modules will end up
trying to call mntput_no_expire() from modules.

$ nm fs/fuse/fuse.ko | grep mntput_no_expire
                 U mntput_no_expire

- z
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH]loop cleanup in fs/namespace.c - repost, Dmitri Vorobiev, (Wed Nov 21, 1:57 pm)
Re: [PATCH]loop cleanup in fs/namespace.c - repost, Zach Brown, (Wed Nov 21, 3:06 pm)
Re: [PATCH]loop cleanup in fs/namespace.c - repost, Dmitri Vorobiev, (Wed Nov 21, 3:54 pm)
Re: [PATCH]loop cleanup in fs/namespace.c - repost, Zach Brown, (Wed Nov 21, 4:46 pm)