diff --git a/mm/shmem.c b/mm/shmem.c index 9df016296347242a63e9010d048e923f77c0b880..201086030e7200f7816d13566bc5894dc5ab7b28 100644 --- a/mm/shmem.c +++ b/mm/shmem.c @@ -2869,6 +2869,9 @@ static int shmem_statfs(struct dentry *dentry, struct kstatfs *buf) buf->f_ffree = sbinfo->free_inodes; } /* else leave those fields 0 like simple_statfs */ + + buf->f_fsid = uuid_to_fsid(dentry->d_sb->s_uuid.b); + return 0; }