Skip to contentSkip to conversation

tools/find-api-violations: fix fs -> fsr in the directory list

PATCH Superseded Darrick J. Wong 3 participants 4 messages Jan 24, 2017 – Jan 25, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/find-api-violations: fix fs -> fsr in the directory list

Fix a stupid typo in the original commit.

---
 tools/find-api-violations.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/find-api-violations.sh +1 -1
index 7937749..b4b8de5 100755
@@ -6,7 +6,7 @@
 
 # NOTE: This script doesn't look for API violations in function parameters.
 
-tool_dirs="copy db estimate fs fsck fsr growfs io mdrestore mkfs quota repair rtcp"
+tool_dirs="copy db estimate fsr fsck fsr growfs io mdrestore mkfs quota repair rtcp"
 
 # Calls to xfs_* functions in libxfs/*.c without the libxfs_ prefix
 find_possible_api_calls() {
#2 lore raw
In reply to Darrick J. Wong
Quoted 12 lines · Darrick J. Wong

Fix a stupid typo in the original commit.

---
 tools/find-api-violations.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/find-api-violations.sh +0 -0
index 7937749..b4b8de5 100755

tools/find-api-violations.sh line 10

Quoted 6 lines
tools/find-api-violations.sh +1 -1
@@ -6,7 +6,7 @@
 
 # NOTE: This script doesn't look for API violations in function parameters.
 
-tool_dirs="copy db estimate fs fsck fsr growfs io mdrestore mkfs quota repair rtcp"
+tool_dirs="copy db estimate fsr fsck fsr growfs io mdrestore mkfs quota repair rtcp"
 

fsr is already part of the list. With this patch, we now have a duplicate entry. Or, Am I missing something very obvious?

Signature · 1 line
chandan
#3 lore raw
Quoted 14 lines · Chandan Rajendra
Quoted 13 lines · Darrick J. Wong

Fix a stupid typo in the original commit.

---
 tools/find-api-violations.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/find-api-violations.sh +0 -0
index 7937749..b4b8de5 100755
@@ -6,7 +6,7 @@
 
Quoted 8 lines

tools/find-api-violations.sh line 10

Quoted 5 lines
tools/find-api-violations.sh +1 -1
 # NOTE: This script doesn't look for API violations in function parameters.
 
-tool_dirs="copy db estimate fs fsck fsr growfs io mdrestore mkfs quota repair rtcp"
+tool_dirs="copy db estimate fsr fsck fsr growfs io mdrestore mkfs quota repair rtcp"
 

fsr is already part of the list. With this patch, we now have a duplicate entry. Or, Am I missing something very obvious?

Pah, it's missing logprint too.

Ok, respin....

--D

Quoted 8 lines
Signature · 7 lines
-- 
chandan

--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html