You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial
* git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial: drivers/char/ftape/lowlevel/fdc-io.c: Correct a comment Kconfig help: MTD_JEDECPROBE already supports Intel Remove ugly debugging stuff do_mounts.c: Minor ROOT_DEV comment cleanup BUG_ON() Conversion in drivers/s390/block/dasd_devmap.c BUG_ON() Conversion in mm/mempool.c BUG_ON() Conversion in mm/memory.c BUG_ON() Conversion in kernel/fork.c BUG_ON() Conversion in ipc/sem.c BUG_ON() Conversion in fs/ext2/ BUG_ON() Conversion in fs/hfs/ BUG_ON() Conversion in fs/dcache.c BUG_ON() Conversion in fs/buffer.c BUG_ON() Conversion in input/serio/hp_sdc_mlc.c BUG_ON() Conversion in md/dm-table.c BUG_ON() Conversion in md/dm-path-selector.c BUG_ON() Conversion in drivers/isdn BUG_ON() Conversion in drivers/char BUG_ON() Conversion in drivers/mtd/
This commit is contained in:
+1
-10
@@ -34,7 +34,6 @@
|
||||
#include <linux/swap.h>
|
||||
#include <linux/bootmem.h>
|
||||
|
||||
/* #define DCACHE_DEBUG 1 */
|
||||
|
||||
int sysctl_vfs_cache_pressure __read_mostly = 100;
|
||||
EXPORT_SYMBOL_GPL(sysctl_vfs_cache_pressure);
|
||||
@@ -603,10 +602,6 @@ resume:
|
||||
*/
|
||||
if (!list_empty(&dentry->d_subdirs)) {
|
||||
this_parent = dentry;
|
||||
#ifdef DCACHE_DEBUG
|
||||
printk(KERN_DEBUG "select_parent: descending to %s/%s, found=%d\n",
|
||||
dentry->d_parent->d_name.name, dentry->d_name.name, found);
|
||||
#endif
|
||||
goto repeat;
|
||||
}
|
||||
}
|
||||
@@ -616,10 +611,6 @@ dentry->d_parent->d_name.name, dentry->d_name.name, found);
|
||||
if (this_parent != parent) {
|
||||
next = this_parent->d_u.d_child.next;
|
||||
this_parent = this_parent->d_parent;
|
||||
#ifdef DCACHE_DEBUG
|
||||
printk(KERN_DEBUG "select_parent: ascending to %s/%s, found=%d\n",
|
||||
this_parent->d_parent->d_name.name, this_parent->d_name.name, found);
|
||||
#endif
|
||||
goto resume;
|
||||
}
|
||||
out:
|
||||
@@ -798,7 +789,7 @@ struct dentry *d_alloc_name(struct dentry *parent, const char *name)
|
||||
|
||||
void d_instantiate(struct dentry *entry, struct inode * inode)
|
||||
{
|
||||
if (!list_empty(&entry->d_alias)) BUG();
|
||||
BUG_ON(!list_empty(&entry->d_alias));
|
||||
spin_lock(&dcache_lock);
|
||||
if (inode)
|
||||
list_add(&entry->d_alias, &inode->i_dentry);
|
||||
|
||||
Reference in New Issue
Block a user