diff options
author | Alan Somers <asomers@FreeBSD.org> | 2021-03-20 01:38:57 +0000 |
---|---|---|
committer | Alan Somers <asomers@FreeBSD.org> | 2021-03-20 01:38:57 +0000 |
commit | 9c5aac8f2e84ca4bbdf82514302c08c0453ec59b (patch) | |
tree | 7f69af362af330596fec168c577c0518a93a3ece | |
parent | 7af04dff025d98e2feff979756ecde8ef0ace390 (diff) | |
download | src-9c5aac8f2e84ca4bbdf82514302c08c0453ec59b.tar.gz src-9c5aac8f2e84ca4bbdf82514302c08c0453ec59b.zip |
fusefs: fix a dead store in fuse_vnop_advlock
kevans actually caught this in the original review and I fixed it, but
then I committed an older copy of the branch. Whoops.
Reported by: kevans
MFC after: 13 days
MFC with: 929acdb19acb67cc0e6ee5439df98e28a84d4772
Differential Revision: https://reviews.freebsd.org/D29031
-rw-r--r-- | sys/fs/fuse/fuse_vnops.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/fs/fuse/fuse_vnops.c b/sys/fs/fuse/fuse_vnops.c index cdbc42f5adf4..a51c1b15e7f0 100644 --- a/sys/fs/fuse/fuse_vnops.c +++ b/sys/fs/fuse/fuse_vnops.c @@ -444,7 +444,6 @@ fuse_vnop_advlock(struct vop_advlock_args *ap) break; case F_UNLCK: op = FUSE_SETLK; - flags |= F_UNLCK; break; default: return EINVAL; |