Home
last modified time | relevance | path

Searched hist:a00c2d59e914b8ec46f1637e2e283aa35583c455 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/overlayfs/
H A Dinode.cdiff a00c2d59e914b8ec46f1637e2e283aa35583c455 Fri May 11 10:49:32 CDT 2018 Vivek Goyal <vgoyal@redhat.com> ovl: Add an inode flag OVL_CONST_INO

Add an ovl_inode flag OVL_CONST_INO. This flag signifies if inode number
will remain constant over copy up or not. This flag does not get updated
over copy up and remains unmodifed after setting once.

Next patch in the series will make use of this flag. It will basically
figure out if dentry is of type ORIGIN or not. And this can be derived by
this flag.

ORIGIN = (upperdentry && ovl_test_flag(OVL_CONST_INO, inode)).

Suggested-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
H A Doverlayfs.hdiff a00c2d59e914b8ec46f1637e2e283aa35583c455 Fri May 11 10:49:32 CDT 2018 Vivek Goyal <vgoyal@redhat.com> ovl: Add an inode flag OVL_CONST_INO

Add an ovl_inode flag OVL_CONST_INO. This flag signifies if inode number
will remain constant over copy up or not. This flag does not get updated
over copy up and remains unmodifed after setting once.

Next patch in the series will make use of this flag. It will basically
figure out if dentry is of type ORIGIN or not. And this can be derived by
this flag.

ORIGIN = (upperdentry && ovl_test_flag(OVL_CONST_INO, inode)).

Suggested-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>