Re: [PATCH] virtio-fs: Query rootmode during mount

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

 



On Fri, 15 Nov 2024 at 15:51, Hanna Czenczek <hreitz@xxxxxxxxxx> wrote:

> Now that I look at it once again (because I was wondering why to check fm, and not fm->fc), do we even need to check fm or fm->fc?  fuse_mount_destroy() assumes both are non-NULL, so I assume sb->s_root || fm->fc->initialized should be OK, too…

You're right, fm can't be NULL.  Not sure why I thought it can.

Thanks,
Miklos





[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux