[<prev] [next>] [day] [month] [year] [list]
Message-ID: <5bea2493.963.18b27d8bfb6.Coremail.wangkailong@jari.cn>
Date: Fri, 13 Oct 2023 15:03:18 +0800 (GMT+08:00)
From: "KaiLong Wang" <wangkailong@...i.cn>
To: xiubli@...hat.com, idryomov@...il.com, jlayton@...nel.org
Cc: ceph-devel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] ceph: Clean up errors in locks.c
Fix the following errors reported by checkpatch:
ERROR: need consistent spacing around '-' (ctx:WxV)
Signed-off-by: KaiLong Wang <wangkailong@...i.cn>
---
fs/ceph/locks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ceph/locks.c b/fs/ceph/locks.c
index cb51c7e9c8e2..f956f613dd93 100644
--- a/fs/ceph/locks.c
+++ b/fs/ceph/locks.c
@@ -141,7 +141,7 @@ static int ceph_lock_message(u8 lock_type, u16 operation, struct inode *inode,
length = le64_to_cpu(req->r_reply_info.filelock_reply->start) +
le64_to_cpu(req->r_reply_info.filelock_reply->length);
if (length >= 1)
- fl->fl_end = length -1;
+ fl->fl_end = length - 1;
else
fl->fl_end = 0;
--
2.17.1
Powered by blists - more mailing lists