[RFC][PATCH 0/2] ovl: make room to store state flags in dentry

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

 



Miklos,

This is a prep work I have done some time ago to make room
for some extra state flags on the dentry.

I converted the boolean opaque field to a flag as an example.

An example for more flags could be:
- this is a copy up file which needs to get st_ino from lower
- this is an O_TEMP copy up from open for read that needs to be
  linked to upper dir on open for write

Amir Goldstein (2):
  ovl: store path type in dentry
  ovl: cram opaque boolean into type flags

 fs/overlayfs/namei.c     | 10 ++++++----
 fs/overlayfs/overlayfs.h |  3 +++
 fs/overlayfs/ovl_entry.h |  4 +++-
 fs/overlayfs/super.c     |  1 +
 fs/overlayfs/util.c      | 25 +++++++++++++++----------
 5 files changed, 28 insertions(+), 15 deletions(-)

-- 
2.7.4

--
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