]> err.no Git - linux-2.6/blobdiff - fs/quota_v2.c
[PATCH] nfsd4: recovery lookup dir check
[linux-2.6] / fs / quota_v2.c
index 7afcbb1b93761a539ddb8d31f4448b122f6f5e6b..a4ef91bb4f3b9afe61628d52a7bb3e08356b42da 100644 (file)
@@ -35,7 +35,8 @@ static int v2_check_quota_file(struct super_block *sb, int type)
  
        size = sb->s_op->quota_read(sb, type, (char *)&dqhead, sizeof(struct v2_disk_dqheader), 0);
        if (size != sizeof(struct v2_disk_dqheader)) {
-               printk("failed read\n");
+               printk("quota_v2: failed read expected=%d got=%d\n",
+                       sizeof(struct v2_disk_dqheader), size);
                return 0;
        }
        if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type] ||