]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/coda/file.c
[NETFILTER]: nf_conntrack: EXPORT_SYMBOL cleanup
[linux-2.6-omap-h63xx.git] / fs / coda / file.c
index cc66c681bd11069d993f086db77198f8ba978dfb..dbfbcfa5b3c064855f377949a9470bd6aab63a2e 100644 (file)
@@ -136,10 +136,8 @@ int coda_open(struct inode *coda_inode, struct file *coda_file)
        coda_vfs_stat.open++;
 
        cfi = kmalloc(sizeof(struct coda_file_info), GFP_KERNEL);
-       if (!cfi) {
-               unlock_kernel();
+       if (!cfi)
                return -ENOMEM;
-       }
 
        lock_kernel();