diff options
Diffstat (limited to 'fs/aufs/i_op_del.c')
-rw-r--r-- | fs/aufs/i_op_del.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/aufs/i_op_del.c b/fs/aufs/i_op_del.c index bda70b008..35b923ccc 100644 --- a/fs/aufs/i_op_del.c +++ b/fs/aufs/i_op_del.c @@ -54,7 +54,8 @@ int au_wr_dir_need_wh(struct dentry *dentry, int isdir, aufs_bindex_t *bcpup) au_di_cp(tmp, dinfo); au_di_swap(tmp, dinfo); /* returns the number of positive dentries */ - need_wh = au_lkup_dentry(dentry, btop + 1, /*type*/0); + need_wh = au_lkup_dentry(dentry, btop + 1, + /* AuLkup_IGNORE_PERM */ 0); au_di_swap(tmp, dinfo); au_rw_write_unlock(&tmp->di_rwsem); au_di_free(tmp); |