Avoided double attempt to set lfa flag "i" to newly created directory
This commit is contained in:
@@ -180,6 +180,15 @@ int Permstack_push(struct PermiteM **o, char *disk_path, struct stat *stbuf,
|
||||
int Permstack_pop(struct PermiteM **o, struct PermiteM *stopper,
|
||||
struct XorrisO *xorriso, int flag);
|
||||
|
||||
/* Look for stack item with disk_path
|
||||
@param immutable bit0= when popping: set chattr immutable bit
|
||||
bit1= when popping: only set immutable bit
|
||||
@return 0= nothing found, 1= *stbuf and *immutable are valid
|
||||
*/
|
||||
int Permstack_peek(struct PermiteM **o, struct PermiteM *stopper,
|
||||
struct XorrisO *xorriso,
|
||||
char *disk_path, struct stat **stbuf, int *immutable,
|
||||
int flag);
|
||||
|
||||
#endif /* ! Xorriso_pvt_auxobj_includeD */
|
||||
|
||||
|
Reference in New Issue
Block a user