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]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux