Signed-off-by: YangXin <245051644@qq.com> (cherry picked from commit a0bd3177e5f38dc37265c8f240745818e49ab709)
26 lines
832 B
Diff
26 lines
832 B
Diff
From 959f29ce47ff71cc40ffbd0857471b79074cb9a5 Mon Sep 17 00:00:00 2001
|
|
From: liqiang <liqiang64@huawei.com>
|
|
Date: Wed, 30 Nov 2022 20:30:29 +0800
|
|
Subject: [PATCH 1/3] add path put in xattr set
|
|
|
|
Signed-off-by: liqiang <liqiang64@huawei.com>
|
|
---
|
|
qtfs/qtfs_server/fsops.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/qtfs/qtfs_server/fsops.c b/qtfs/qtfs_server/fsops.c
|
|
index 6633f3c..48ec7ab 100644
|
|
--- a/qtfs/qtfs_server/fsops.c
|
|
+++ b/qtfs/qtfs_server/fsops.c
|
|
@@ -843,6 +843,7 @@ int handle_xattrset(struct qtserver_arg *arg)
|
|
qtfs_info("handle xattrset path:%s name:%s value:%s ret:%d size:%lu flags:%d", req->buf,
|
|
&req->buf[req->d.pathlen], &req->buf[req->d.pathlen + req->d.namelen], rsp->errno,
|
|
req->d.size, req->d.flags);
|
|
+ path_put(&path);
|
|
return sizeof(struct qtrsp_xattrset);
|
|
|
|
err_handle:
|
|
--
|
|
2.23.0
|
|
|