Re: [PATCH] statfs.2: Update + Note for pipe() fds

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

 



>> And I just want to check. Was it really ff0c7d15f9787b7e8c601533c01529
>> that caused the breakage? At a quick glance, that patch looks
>> unrelated, but perhaps something very subtle is going on...
>
> Yep, it took me a while to notice. If you pass NULL as super_operations
> to mount_pseudo() function, which was the case before the patch, default
> structure super_operations (with contains only simple_statfs) is used
> (have a look at mount_pseudo() in fs/libfs.c). This patch added
> pipefs_ops without the statfs callback and passed it instead of the
> NULL.

Ahh -- okay. Thanks for the explanation.

Cheers,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux