]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/fuse/dir.c
Merge tag 'drm-misc-next-fixes-2020-02-07' of git://anongit.freedesktop.org/drm/drm...
[linux.git] / fs / fuse / dir.c
index ee190119f45ccc4c09b894add8abc5dcefd45e56..de1e2fde60bd4cf5cdc7213e4be367650eff3863 100644 (file)
@@ -818,7 +818,7 @@ static int fuse_rename2(struct inode *olddir, struct dentry *oldent,
        struct fuse_conn *fc = get_fuse_conn(olddir);
        int err;
 
-       if (flags & ~(RENAME_NOREPLACE | RENAME_EXCHANGE))
+       if (flags & ~(RENAME_NOREPLACE | RENAME_EXCHANGE | RENAME_WHITEOUT))
                return -EINVAL;
 
        if (flags) {