Skip to content
Commit 46fdb794 authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

shmem: support RENAME_WHITEOUT



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>
parent cd808dec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment