From ec86ff5689ff9605e2d57e016098764ad9a2fee5 Mon Sep 17 00:00:00 2001 From: Amir Goldstein Date: Thu, 10 Jan 2019 19:04:38 +0200 Subject: vfs: add vfs_get_fsid() helper Wrapper around statfs() interface. Cc: Al Viro Signed-off-by: Amir Goldstein Signed-off-by: Jan Kara --- include/linux/statfs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/linux/statfs.h') 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 -- cgit v1.2.3