]> git.baikalelectronics.ru Git - kernel.git/commit
dcache.c: create helper function for duplicated functionality
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Mar 2011 22:29:21 +0000 (15:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Mar 2011 22:29:21 +0000 (15:29 -0700)
commit58bfb2c3b1d199b54f3ec46a5f25514532baa597
tree6230dc7babebfa008d67bd309de7562a0292ab8b
parent5ad0604a4c7617166c3b3cca615408cf7d72c2d5
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>
fs/dcache.c