projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
statx: stx_subvol
[linux-2.6-block.git]
/
fs
/
stat.c
diff --git
a/fs/stat.c
b/fs/stat.c
index 77cdc69eb4220b7764c4e551bf3a350debcec7f6..70bd3e888cfa301be28acf5f6fa5a5b655549d2a 100644
(file)
--- a/
fs/stat.c
+++ b/
fs/stat.c
@@
-658,6
+658,7
@@
cp_statx(const struct kstat *stat, struct statx __user *buffer)
tmp.stx_mnt_id = stat->mnt_id;
tmp.stx_dio_mem_align = stat->dio_mem_align;
tmp.stx_dio_offset_align = stat->dio_offset_align;
+ tmp.stx_subvol = stat->subvol;
return copy_to_user(buffer, &tmp, sizeof(tmp)) ? -EFAULT : 0;
}