Patch-3.10.69-76-vs2.3.6.9.diff

From Linix VServer
Revision as of 22:01, 10 November 2025 by 192.168.65.1 (talk) (Restored content from Wayback Machine)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

upstream commit broke linux-vserver patch hunk context http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/fs/libfs.c?h=linux-3.10.y&id=6637ecd306a94a03dd5b8e4e8d3f260d9877c5b0 diff -urNpd linux-3.10.76~/fs/libfs.c linux-3.10.76/fs/libfs.c --- linux-3.10.76~/fs/libfs.c 2015-04-29 07:50:53.125615513 -0500 +++ linux-3.10.76/fs/libfs.c 2015-04-29 08:02:01.926955077 -0500 @@ -167,6 +167,8 @@ static inline int do_dcache_readdir_filt for (p=q->next; p != &dentry->d_subdirs; p=p->next) { struct dentry *next; next = list_entry(p, struct dentry, d_child); + if (filter && !filter(next)) + continue; spin_lock_nested(&next->d_lock, DENTRY_D_LOCK_NESTED); if (!simple_positive(next)) { spin_unlock(&next->d_lock);