On Thu, 12 Jan 2012 09:51:30 -0200
Carlos Maiolino <[email protected]> wrote:

> During a remount of a cifs filesystem, the mtab file is not properly updated,
> which leads to a doubled entry of the same filesystem in the /etc/mtab file.
> This patch adds a new function del_mtab() which is called before the 
> add_mtab()
> in case the fs is being remounted.
> The del_mtab() function will delete from the mtab, the old entry from the
> filesystem which is being remounted, and then, calls add_mtab() to add an
> updated entry to the mtab file.
> 
> Signed-off-by: Carlos Maiolino <[email protected]>
> ---
>  mount.cifs.c |  100 
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
>  1 files changed, 99 insertions(+), 1 deletions(-)
> 


Merged, but I also just sent a follow-on patch for this code as well...

--
Jeff Layton <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to