• M
    vfs: make open_with_fake_path() not contribute to nr_files · d3b1084d
    Miklos Szeredi 提交于
    Stacking file operations in overlay will store an extra open file for each
    overlay file opened.
    
    The overhead is just that of "struct file" which is about 256bytes, because
    overlay already pins an extra dentry and inode when the file is open, which
    add up to a much larger overhead.
    
    For fear of breaking working setups, don't start accounting the extra file.
    Signed-off-by: NMiklos Szeredi <mszeredi@redhat.com>
    d3b1084d
file_table.c 9.1 KB