mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04: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 <[email protected]> Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
ce0b16ddf1
commit
2b0143b5c9
278 changed files with 1419 additions and 1420 deletions
|
|
@ -2889,7 +2889,7 @@ void ntfs_truncate_vfs(struct inode *vi) {
|
|||
*/
|
||||
int ntfs_setattr(struct dentry *dentry, struct iattr *attr)
|
||||
{
|
||||
struct inode *vi = dentry->d_inode;
|
||||
struct inode *vi = d_inode(dentry);
|
||||
int err;
|
||||
unsigned int ia_valid = attr->ia_valid;
|
||||
|
||||
|
|
|
|||
|
|
@ -292,14 +292,14 @@ const struct inode_operations ntfs_dir_inode_ops = {
|
|||
* The code is based on the ext3 ->get_parent() implementation found in
|
||||
* fs/ext3/namei.c::ext3_get_parent().
|
||||
*
|
||||
* Note: ntfs_get_parent() is called with @child_dent->d_inode->i_mutex down.
|
||||
* Note: ntfs_get_parent() is called with @d_inode(child_dent)->i_mutex down.
|
||||
*
|
||||
* Return the dentry of the parent directory on success or the error code on
|
||||
* error (IS_ERR() is true).
|
||||
*/
|
||||
static struct dentry *ntfs_get_parent(struct dentry *child_dent)
|
||||
{
|
||||
struct inode *vi = child_dent->d_inode;
|
||||
struct inode *vi = d_inode(child_dent);
|
||||
ntfs_inode *ni = NTFS_I(vi);
|
||||
MFT_RECORD *mrec;
|
||||
ntfs_attr_search_ctx *ctx;
|
||||
|
|
|
|||
Loading…
Reference in a new issue