diff options
author | Amir Goldstein <amir73il@gmail.com> | 2019-01-10 20:04:38 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2019-02-07 18:38:35 +0300 |
commit | ec86ff5689ff9605e2d57e016098764ad9a2fee5 (patch) | |
tree | f5676c9aaa576a90e51ff47ae4d9dfe64daae9f5 /include/linux/statfs.h | |
parent | 77115225acc67d9ac4b15f04dd138006b9cd1ef2 (diff) | |
download | linux-ec86ff5689ff9605e2d57e016098764ad9a2fee5.tar.xz |
vfs: add vfs_get_fsid() helper
Wrapper around statfs() interface.
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include/linux/statfs.h')
-rw-r--r-- | include/linux/statfs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/statfs.h b/include/linux/statfs.h index 3142e98546ac..9bc69edb8f18 100644 --- a/include/linux/statfs.h +++ b/include/linux/statfs.h @@ -41,4 +41,7 @@ struct kstatfs { #define ST_NODIRATIME 0x0800 /* do not update directory access times */ #define ST_RELATIME 0x1000 /* update atime relative to mtime/ctime */ +struct dentry; +extern int vfs_get_fsid(struct dentry *dentry, __kernel_fsid_t *fsid); + #endif |