Re: [PATCH] hotlist.c - fix coredump (trivial)



Hello!

> This will prevent MC from dumping core if user pressed Del in Active VFS 
> dialog. (Ctrl-X a)

Thanks!  Applied.

> Is there a way to delete selected active vfs? I've read the sources, but 
> didn't find an easy way to implement this.

You can delete all VFS by calling vfs_expire(1)

It works on timestamps.  But "struct vfs_stamping" has a reference to the
VFS (see vfs.h).  You can rewrite vfs_expire() to take VFS id as an
argument and expire only VFS with that id.

-- 
Regards,
Pavel Roskin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]