commit | c24930a9bbb6219f21f670c38b9473181d5f5e10 | [log] [tgz] |
---|---|---|
author | Rui Xiang <rui.xiang@huawei.com> | Thu Jan 23 15:55:00 2014 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jan 23 16:36:59 2014 -0800 |
tree | 79fc37031fdca3ebb6be77ff67ffe8868c5b8d39 | |
parent | da29b7543957c6e967066f1ee18fab2feb0eeeb3 [diff] |
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>