diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-01-24 02:18:08 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-26 02:46:08 -0500 |
commit | 3dadecce20603aa380023c65e6f55f108fd5e952 (patch) | |
tree | 9c6b1540787ba3c0c2342447bf1b35836b1e4314 /drivers/block/loop.c | |
parent | e72837e3e7bae3f182c4ac63c9424e86f1158dd0 (diff) |
switch vfs_getattr() to struct path
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/block/loop.c')
-rw-r--r-- | drivers/block/loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/loop.c b/drivers/block/loop.c index ae1251270624..8031a8cdd698 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c | |||
@@ -1139,7 +1139,7 @@ loop_get_status(struct loop_device *lo, struct loop_info64 *info) | |||
1139 | 1139 | ||
1140 | if (lo->lo_state != Lo_bound) | 1140 | if (lo->lo_state != Lo_bound) |
1141 | return -ENXIO; | 1141 | return -ENXIO; |
1142 | error = vfs_getattr(file->f_path.mnt, file->f_path.dentry, &stat); | 1142 | error = vfs_getattr(&file->f_path, &stat); |
1143 | if (error) | 1143 | if (error) |
1144 | return error; | 1144 | return error; |
1145 | memset(info, 0, sizeof(*info)); | 1145 | memset(info, 0, sizeof(*info)); |