git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f09e8ce
)
fixed an errno handling bug that could lead to an infinite loop
author
Andrew Tridgell
<tridge@samba.org>
Sun, 24 Aug 2008 03:53:19 +0000
(13:53 +1000)
committer
Michael Adam
<obnox@samba.org>
Tue, 26 Aug 2008 12:39:42 +0000
(14:39 +0200)
(This used to be commit
5ccdc58ce91ee40ca7171dd040191291aeb7fe02
)
source3/modules/vfs_tsmsm.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_tsmsm.c
b/source3/modules/vfs_tsmsm.c
index d56c5aa87fb2d1af7199b479ed31194df1bdcf86..ee958b1be5192725bcfde58da8726bc1a446b0ce 100644
(file)
--- a/
source3/modules/vfs_tsmsm.c
+++ b/
source3/modules/vfs_tsmsm.c
@@
-200,9
+200,9
@@
static bool tsmsm_is_offline(struct vfs_handle_struct *handle,
goto done;
}
- lerrno = 0;
-
do {
+ lerrno = 0;
+
ret = dm_get_dmattr(*dmsession_id, dmhandle, dmhandle_len,
DM_NO_TOKEN, &dmname, buflen, buf, &rlen);
if (ret == -1 && errno == EINVAL) {