[PATCH 2/2] autofs: use IS_ROOT to replace root dentry checks

2013-12-02 Thread Ian Kent
From: Rui Xiang Use the helper macro !IS_ROOT to replace parent != dentry->d_parent. Just clean up. Signed-off-by: Rui Xiang Acked-by: Ian Kent --- fs/autofs4/root.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c index

[PATCH 2/2] autofs: use IS_ROOT to replace root dentry checks

2013-12-02 Thread Ian Kent
From: Rui Xiang rui.xi...@huawei.com Use the helper macro !IS_ROOT to replace parent != dentry-d_parent. Just clean up. Signed-off-by: Rui Xiang rui.xi...@huawei.com Acked-by: Ian Kent ra...@themaw.net --- fs/autofs4/root.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff