Merge remote-tracking branches 'asoc/topic/pm-ops', 'asoc/topic/pxa' and 'asoc/topic...
[firefly-linux-kernel-4.4.55.git] / fs / fuse / file.c
index 014fa8ba2b5189e923557c446be8f150921f9b28..f523f2f04c196db5b1201a38a6e3222ae40d1724 100644 (file)
@@ -1169,7 +1169,7 @@ static ssize_t fuse_file_write_iter(struct kiocb *iocb, struct iov_iter *from)
        if (err <= 0)
                goto out;
 
-       err = file_remove_suid(file);
+       err = file_remove_privs(file);
        if (err)
                goto out;