mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
VFS: normal filesystems (and lustre): d_inode() annotations
that's the bulk of filesystem drivers dealing with inodes of their own Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -182,7 +182,7 @@ static const char *qnx6_checkroot(struct super_block *s)
|
||||
static char match_root[2][3] = {".\0\0", "..\0"};
|
||||
int i, error = 0;
|
||||
struct qnx6_dir_entry *dir_entry;
|
||||
struct inode *root = s->s_root->d_inode;
|
||||
struct inode *root = d_inode(s->s_root);
|
||||
struct address_space *mapping = root->i_mapping;
|
||||
struct page *page = read_mapping_page(mapping, 0, NULL);
|
||||
if (IS_ERR(page))
|
||||
|
Reference in New Issue
Block a user