]> git.baikalelectronics.ru Git - 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)
commitdf3dc7fc9387b8d970109be788edf35f1e14b004
tree79fc37031fdca3ebb6be77ff67ffe8868c5b8d39
parente63b1c78e4d1a59946193a7832779c21dc0abab8
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