X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=fs%2Fsysv%2Fdir.c;h=1dabed286b4cf061a34c8521f5b1e44b81147089;hp=4e50286a4cc32425c1061c92aba680b265ecaad1;hb=1f8caa986a5f4de2e40f3defe66a07b4c5a019c2;hpb=b34c8663940dfc7da767c42b37605e5ad3ae11f7 diff --git a/fs/sysv/dir.c b/fs/sysv/dir.c index 4e50286a4cc3..1dabed286b4c 100644 --- a/fs/sysv/dir.c +++ b/fs/sysv/dir.c @@ -164,8 +164,8 @@ struct sysv_dir_entry *sysv_find_entry(struct dentry *dentry, struct page **res_ name, de->name)) goto found; } + dir_put_page(page); } - dir_put_page(page); if (++n >= npages) n = 0;