• Miklos Szeredi's avatar
    shmem: support RENAME_WHITEOUT · 46fdb794
    Miklos Szeredi authored
    Allocate a dentry, initialize it with a whiteout and hash it in the place
    of the old dentry.  Later the old dentry will be moved away and the
    whiteout will remain.
    
    i_mutex protects agains concurrent readdir.
    Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
    Cc: Hugh Dickins <hughd@google.com>
    46fdb794
shmem.c 89.7 KB