aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fuse/file.c')
-rw-r--r--fs/fuse/file.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index ce759414cff9..36f92f181d2f 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -705,6 +705,9 @@ static int fuse_setlk(struct file *file, struct file_lock *fl)
705 fuse_lk_fill(req, file, fl, opcode, pid); 705 fuse_lk_fill(req, file, fl, opcode, pid);
706 request_send(fc, req); 706 request_send(fc, req);
707 err = req->out.h.error; 707 err = req->out.h.error;
708 /* locking is restartable */
709 if (err == -EINTR)
710 err = -ERESTARTSYS;
708 fuse_put_request(fc, req); 711 fuse_put_request(fc, req);
709 return err; 712 return err;
710} 713}