All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/3] safe_macros: remove unused code in xattr related functions
@ 2017-03-02 10:37 Xiao Yang
  2017-03-02 10:37 ` [LTP] [PATCH 2/3] safe_macros: add safe_removexattr() Xiao Yang
  2017-03-02 10:37 ` [LTP] [PATCH 3/3] syscalls/getxattr04.c: Add new regression test Xiao Yang
  0 siblings, 2 replies; 11+ messages in thread
From: Xiao Yang @ 2017-03-02 10:37 UTC (permalink / raw)
  To: ltp

Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
---
 lib/safe_macros.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/safe_macros.c b/lib/safe_macros.c
index 42e7d98..6476246 100644
--- a/lib/safe_macros.c
+++ b/lib/safe_macros.c
@@ -803,7 +803,6 @@ int safe_setxattr(const char *file, const int lineno, const char *path,
 			tst_brkm(TCONF, NULL,
 				 "%s:%d: no xattr support in fs or mounted "
 				 "without user_xattr option", file, lineno);
-			return rval;
 		}
 
 		tst_brkm(TBROK | TERRNO, NULL, "%s:%d: setxattr() failed",
@@ -825,7 +824,6 @@ int safe_lsetxattr(const char *file, const int lineno, const char *path,
 			tst_brkm(TCONF, NULL,
 				 "%s:%d: no xattr support in fs or mounted "
 				 "without user_xattr option", file, lineno);
-			return rval;
 		}
 
 		tst_brkm(TBROK | TERRNO, NULL, "%s:%d: lsetxattr() failed",
@@ -847,7 +845,6 @@ int safe_fsetxattr(const char *file, const int lineno, int fd, const char *name,
 			tst_brkm(TCONF, NULL,
 				 "%s:%d: no xattr support in fs or mounted "
 				 "without user_xattr option", file, lineno);
-			return rval;
 		}
 
 		tst_brkm(TBROK | TERRNO, NULL, "%s:%d: fsetxattr() failed",
-- 
1.8.3.1




^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-03-06  9:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-02 10:37 [LTP] [PATCH 1/3] safe_macros: remove unused code in xattr related functions Xiao Yang
2017-03-02 10:37 ` [LTP] [PATCH 2/3] safe_macros: add safe_removexattr() Xiao Yang
2017-03-02 10:37 ` [LTP] [PATCH 3/3] syscalls/getxattr04.c: Add new regression test Xiao Yang
2017-03-02 16:23   ` Cyril Hrubis
2017-03-03  1:21     ` [LTP] [PATCH v2 3/3] syscalls/getxattr04.c: add " Xiao Yang
2017-03-03  2:14       ` Xiao Yang
2017-03-03  1:34     ` [LTP] [PATCH 3/3] syscalls/getxattr04.c: Add " Xiao Yang
2017-03-03  2:18     ` [LTP] [PATCH v3 3/3] syscalls/getxattr04.c: add " Xiao Yang
2017-03-03  9:57       ` Cyril Hrubis
2017-03-06  8:50         ` [LTP] [PATCH v4 " Xiao Yang
2017-03-06  9:58           ` Cyril Hrubis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.