• Miklos Szeredi's avatar
    ovl: implement tmpfile · 9a87907d
    Miklos Szeredi authored
    Combine inode creation with opening a file.
    
    There are six separate objects that are being set up: the backing inode,
    dentry and file, and the overlay inode, dentry and file.  Cleanup in case
    of an error is a bit of a challenge and is difficult to test, so careful
    review is needed.
    
    All tmpfile testcases except generic/509 now run/pass, and no regressions
    are observed with full xfstests.
    Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
    Reviewed-by: default avatarAmir Goldstein <amir73il@gmail.com>
    9a87907d
backing-file.c 8.34 KB