]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/afs/cmservice.c
AFS: write back dirty data on unmount
[linux-2.6-omap-h63xx.git] / fs / afs / cmservice.c
index 6685f4cbccb334c7188a229e055158e364b73bf1..d5b2ad6575bc05dfe4a3af63ed0ee4f38f1be094 100644 (file)
@@ -443,6 +443,7 @@ static void SRXAFSCB_GetCapabilities(struct work_struct *work)
                        reply.ia.netmask[loop] = ifs[loop].netmask.s_addr;
                        reply.ia.mtu[loop] = htonl(ifs[loop].mtu);
                }
+               kfree(ifs);
        }
 
        reply.cap.capcount = htonl(1);