]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/dcache.c
tty: serial8250: allow platforms to override irq handler
[karo-tx-linux.git] / fs / dcache.c
index 2347cdb15abbc18b43e7254059aab2b50aeb6962..a88948b8bd17d8b16c42af20ee55bcf47f358923 100644 (file)
@@ -795,6 +795,7 @@ relock:
 
 /**
  * prune_dcache_sb - shrink the dcache
+ * @sb: superblock
  * @nr_to_scan: number of entries to try to free
  *
  * Attempt to shrink the superblock dcache LRU by @nr_to_scan entries. This is
@@ -1728,7 +1729,7 @@ seqretry:
                 */
                if (read_seqcount_retry(&dentry->d_seq, *seq))
                        goto seqretry;
-               if (parent->d_flags & DCACHE_OP_COMPARE) {
+               if (unlikely(parent->d_flags & DCACHE_OP_COMPARE)) {
                        if (parent->d_op->d_compare(parent, *inode,
                                                dentry, i,
                                                tlen, tname, name))