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:
@@ -444,7 +444,7 @@ static int find_group_orlov(struct super_block *sb, struct inode *parent,
|
||||
ndirs = percpu_counter_read_positive(&sbi->s_dirs_counter);
|
||||
|
||||
if (S_ISDIR(mode) &&
|
||||
((parent == sb->s_root->d_inode) ||
|
||||
((parent == d_inode(sb->s_root)) ||
|
||||
(ext4_test_inode_flag(parent, EXT4_INODE_TOPDIR)))) {
|
||||
int best_ndir = inodes_per_group;
|
||||
int ret = -1;
|
||||
|
Reference in New Issue
Block a user