mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
dcache.c: create helper function for duplicated functionality
This creates a helper function for he "try to ascend into the parent directory" case, which was written out in triplicate before. With all the locking and subtle sequence number stuff, we really don't want to duplicate that kind of code. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
76ca078328
commit
c826cb7dfc
1 changed files with 37 additions and 51 deletions
88
fs/dcache.c
88
fs/dcache.c
Loading…
Add table
Add a link
Reference in a new issue