]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
autofs: use IS_ROOT to replace root dentry checks
authorRui Xiang <rui.xiang@huawei.com>
Thu, 23 Jan 2014 23:55:00 +0000 (15:55 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 Jan 2014 00:36:59 +0000 (16:36 -0800)
commitc24930a9bbb6219f21f670c38b9473181d5f5e10
tree79fc37031fdca3ebb6be77ff67ffe8868c5b8d39
parentda29b7543957c6e967066f1ee18fab2feb0eeeb3
autofs: use IS_ROOT to replace root dentry checks

Use the helper macro !IS_ROOT to replace parent != dentry->d_parent.  Just
clean up.

Signed-off-by: Rui Xiang <rui.xiang@huawei.com>
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/autofs4/root.c