mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
parent
589ff870ed
commit
9393bd07cf
12 changed files with 29 additions and 33 deletions
|
|
@ -85,13 +85,12 @@ struct autofs_dir_ent *autofs_expire(struct super_block *sb,
|
|||
}
|
||||
path.mnt = mnt;
|
||||
path_get(&path);
|
||||
if (!follow_down(&path.mnt, &path.dentry)) {
|
||||
if (!follow_down(&path)) {
|
||||
path_put(&path);
|
||||
DPRINTK(("autofs: not expirable (not a mounted directory): %s\n", ent->name));
|
||||
continue;
|
||||
}
|
||||
while (d_mountpoint(path.dentry) &&
|
||||
follow_down(&path.mnt, &path.dentry))
|
||||
while (d_mountpoint(path.dentry) && follow_down(&path));
|
||||
;
|
||||
umount_ok = may_umount(path.mnt);
|
||||
path_put(&path);
|
||||
|
|
|
|||
Loading…
Reference in a new issue