]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/compat.c
NFSv4: Allow entries in the idmap cache to expire
[linux-2.6-omap-h63xx.git] / fs / compat.c
index 818634120b693c70c4e8fedc85c925e12f5d1482..55ac0324aaf1649f1326994f31267ad90e542063 100644 (file)
@@ -1170,7 +1170,7 @@ static ssize_t compat_do_readv_writev(int type, struct file *file,
        }
 
        ret = rw_verify_area(type, file, pos, tot_len);
-       if (ret)
+       if (ret < 0)
                goto out;
 
        fnv = NULL;