On Wed, Feb 26, 2014 at 1:08 AM, Abhishek Dave <[email protected]> wrote:
> Hello All,
>
> Can some one please help me to understand meaning of below code
>
> <snip>
>
> if (!list_empty(&sb->s_inodes)) {
> 406 printk("VFS: Busy inodes after unmount of %s. "
> 407 "Self-destruct in 5 seconds. Have a nice
> day...\n",
> 408 sb->s_id);
> 409 }
>
> </snip>
>
> Are we doing here?
>
> Thanks,
>
> Dave
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> [email protected]
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
Hi Abhishek,
This code gets called during unmounting of a filesystem. During
unmounting, if there are busy inodes present in the list contained in
superblock (s_inodes field), just log the error through the printk &
go forward through the unmounting process.
- Regards,
Rohan
_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies