diff options
-rw-r--r-- | libdiskfs/file-set-trans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/file-set-trans.c b/libdiskfs/file-set-trans.c index cebfdb1c..fbaa0909 100644 --- a/libdiskfs/file-set-trans.c +++ b/libdiskfs/file-set-trans.c @@ -39,7 +39,7 @@ diskfs_S_file_set_translator (struct protid *cred, np = cred->po->np; - if (transnamelen && !transname[transnamelen - 1]) + if (transnamelen && transname[transnamelen - 1]) return EINVAL; mutex_lock (&np->lock); |