]> git.baikalelectronics.ru Git - kernel.git/commit
shmem: support RENAME_WHITEOUT
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 23 Oct 2014 22:14:37 +0000 (00:14 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Thu, 23 Oct 2014 22:14:37 +0000 (00:14 +0200)
commitda60a22304cbcb5233d446c90ab02b108b1c5c19
tree293f678cfc7e83ee5c901071b0f8fbab11b84c78
parent09e264396bead7cfd84787472b14c1c3b229b484
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: Miklos Szeredi <mszeredi@suse.cz>
Cc: Hugh Dickins <hughd@google.com>
mm/shmem.c