You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
udf: propagate umode_t
note re mount options: fmask and dmask are explicitly truncated to 12bit, UDF_INVALID_MODE just needs to be guaranteed to differ from any such value. And umask is used only in &= with umode_t, so we ignore other bits anyway. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
+3
-3
@@ -48,7 +48,7 @@ MODULE_LICENSE("GPL");
|
||||
|
||||
#define EXTENT_MERGE_SIZE 5
|
||||
|
||||
static mode_t udf_convert_permissions(struct fileEntry *);
|
||||
static umode_t udf_convert_permissions(struct fileEntry *);
|
||||
static int udf_update_inode(struct inode *, int);
|
||||
static void udf_fill_inode(struct inode *, struct buffer_head *);
|
||||
static int udf_sync_inode(struct inode *inode);
|
||||
@@ -1452,9 +1452,9 @@ static int udf_alloc_i_data(struct inode *inode, size_t size)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static mode_t udf_convert_permissions(struct fileEntry *fe)
|
||||
static umode_t udf_convert_permissions(struct fileEntry *fe)
|
||||
{
|
||||
mode_t mode;
|
||||
umode_t mode;
|
||||
uint32_t permissions;
|
||||
uint32_t flags;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user