projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
readlinkat: ensure we return ENOENT for the empty pathname for normal lookups
[linux-2.6-block.git]
/
fs
/
super.c
diff --git
a/fs/super.c
b/fs/super.c
index 3f56a269a4f4e30c4c31feb0b73b05064cc974b9..32a81f3467e06835abdf8e5a3beb91acc3a2c161 100644
(file)
--- a/
fs/super.c
+++ b/
fs/super.c
@@
-61,7
+61,7
@@
static int prune_super(struct shrinker *shrink, struct shrink_control *sc)
return -1;
if (!grab_super_passive(sb))
- return -1;
+ return
!sc->nr_to_scan ? 0 :
-1;
if (sb->s_op && sb->s_op->nr_cached_objects)
fs_objects = sb->s_op->nr_cached_objects(sb);