]> git.karo-electronics.de Git - karo-tx-linux.git/commit
autofs: use IS_ROOT to replace root dentry checks
authorRui Xiang <rui.xiang@huawei.com>
Fri, 3 Jan 2014 03:10:20 +0000 (14:10 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 3 Jan 2014 03:10:20 +0000 (14:10 +1100)
commit5e2749b449c2942c5094c6ea5227ccd4f18b95a1
treeefeae9f0aec038d85a9d52f830ebb0a214f0e422
parentce009c0e3a2a859ba53ce0660dd39e22817bd478
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>
fs/autofs4/root.c