information of statfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

This is just my suggestion, in ovl_statfs() isn’t it better to set
below fields(indicating available free resource) to zero when overlayfs
doesn’t have upper fs?Because overlayfs can not occupy resource in
lower stack fs anymore, I think it can reduce the possibility of
misunderstanding from caller.

u64 f_bfree  /* free blocks in fs */
u64 f_bavail /* free blocks available to unprivileged user */
u64 f_ffree  /* free file nodes in fs */


Thanks,
Chengguang.





--
To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux