Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull misc vfs updates from Al Viro: "Assorted stuff all over the place (the largest group here is Christoph's stat cleanups)" * 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: fs: remove KSTAT_QUERY_FLAGS fs: remove vfs_stat_set_lookup_flags fs: move vfs_fstatat out of line fs: implement vfs_stat and vfs_lstat in terms of vfs_fstatat fs: remove vfs_statx_fd fs: omfs: use kmemdup() rather than kmalloc+memcpy [PATCH] reduce boilerplate in fsid handling fs: Remove duplicated flag O_NDELAY occurring twice in VALID_OPEN_FLAGS selftests: mount: add nosymfollow tests Add a "nosymfollow" mount option.
This commit is contained in:
@@ -1116,8 +1116,7 @@ static int zonefs_statfs(struct dentry *dentry, struct kstatfs *buf)
|
||||
|
||||
fsid = le64_to_cpup((void *)sbi->s_uuid.b) ^
|
||||
le64_to_cpup((void *)sbi->s_uuid.b + sizeof(u64));
|
||||
buf->f_fsid.val[0] = (u32)fsid;
|
||||
buf->f_fsid.val[1] = (u32)(fsid >> 32);
|
||||
buf->f_fsid = u64_to_fsid(fsid);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user