fuse: export fuse_dequeue_forget() function
authorVivek Goyal <vgoyal@redhat.com>
Wed, 5 Jun 2019 19:50:43 +0000 (15:50 -0400)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 12 Sep 2019 12:59:40 +0000 (14:59 +0200)
commit4388c5aac4bae5c83a2c66882043942002ba09a2
treee57b579948968968447508ad7747ff644b9b89c7
parent79d96efffda7597b41968d5d8813b39fc2965f1b
fuse: export fuse_dequeue_forget() function

File systems like virtio-fs need to do not have to play directly with
forget list data structures. There is a helper function use that instead.

Rename dequeue_forget() to fuse_dequeue_forget() and export it so that
stacked filesystems can use it.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dev.c
fs/fuse/fuse_i.h