VFS: Fix up debugfs to use d_is_dir() in place of S_ISDIR()
authorDavid Howells <dhowells@redhat.com>
Thu, 5 Mar 2015 12:46:49 +0000 (12:46 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 15 Apr 2015 19:05:30 +0000 (15:05 -0400)
commit7ceab50c0be56cf1bbaf2b3dd1c6cda80e5335fb
tree9f20e8a6fd51f358c722d46ce9bd60e18c33aa15
parent698934df8b45da2a06816ee2d7f9a9034e671e62
VFS: Fix up debugfs to use d_is_dir() in place of S_ISDIR()

Fix up debugfs to use d_is_dir(dentry) in place of
S_ISDIR(dentry->d_inode->i_mode).

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/debugfs/inode.c