aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2015-03-17 18:25:59 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2015-04-15 15:06:57 -0400
commit2b0143b5c986be1ce8408b3aadc4709e0a94429d (patch)
tree98b1dee70f3d5d9ac9309f4638e41864ddcd0952 /fs/btrfs/file.c
parentce0b16ddf18df35026164fda4a642ef10c01f442 (diff)
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>
Diffstat (limited to 'fs/btrfs/file.c')
-rw-r--r--fs/btrfs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index faa7d390841b..2e57064c3cdf 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
@@ -1864,7 +1864,7 @@ static int start_ordered_ops(struct inode *inode, loff_t start, loff_t end)
1864int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync) 1864int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync)
1865{ 1865{
1866 struct dentry *dentry = file->f_path.dentry; 1866 struct dentry *dentry = file->f_path.dentry;
1867 struct inode *inode = dentry->d_inode; 1867 struct inode *inode = d_inode(dentry);
1868 struct btrfs_root *root = BTRFS_I(inode)->root; 1868 struct btrfs_root *root = BTRFS_I(inode)->root;
1869 struct btrfs_trans_handle *trans; 1869 struct btrfs_trans_handle *trans;
1870 struct btrfs_log_ctx ctx; 1870 struct btrfs_log_ctx ctx;