diff options
author | Roland McGrath <roland@gnu.org> | 2002-05-12 01:59:14 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-05-12 01:59:14 +0000 |
commit | 675b8752869b5cd47a66b01914cbc2aa28f63774 (patch) | |
tree | f1fbad3fd21de05b6bce7cb4e4f56d1f31a9acc7 /libdiskfs | |
parent | ae6eaecebe071dda193caa8801bdd50d496bf9ab (diff) |
2002-05-11 Roland McGrath <roland@frob.com>
* trans-callback.c (_diskfs_translator_callback1_fn): Add an assert
that netfs_get_translator not fail with EOPNOTSUPP.
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/trans-callback.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libdiskfs/trans-callback.c b/libdiskfs/trans-callback.c index 0a0bc450..283b184f 100644 --- a/libdiskfs/trans-callback.c +++ b/libdiskfs/trans-callback.c @@ -36,7 +36,10 @@ _diskfs_translator_callback1_fn (void *cookie1, void *cookie2, err = diskfs_get_translator (np, argz, (u_int *) argz_len); if (err) - return err; + { + assert (err != EOPNOTSUPP); + return err; + } *uid = np->dn_stat.st_uid; *gid = np->dn_stat.st_gid; |