summaryrefslogtreecommitdiffstats
path: root/fs/udf/udf_sb.h
diff options
context:
space:
mode:
authorMarcin Slusarz <marcin.slusarz@gmail.com>2008-11-16 20:52:19 +0100
committerJan Kara <jack@suse.cz>2009-04-02 12:29:50 +0200
commit7ac9bcd5da59dd96eb1153d3fc04c3471fa5c09d (patch)
treee9c5470783e9ec098fb7a056d89872c9e225f5c3 /fs/udf/udf_sb.h
parent530f1a5e3e93a038a457faf716975ed19f82831d (diff)
downloadop-kernel-dev-7ac9bcd5da59dd96eb1153d3fc04c3471fa5c09d.zip
op-kernel-dev-7ac9bcd5da59dd96eb1153d3fc04c3471fa5c09d.tar.gz
udf: implement mode and dmode mounting options
"dmode" allows overriding permissions of directories and "mode" allows overriding permissions of files. Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: Jan Kara <jack@suse.cz> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/udf_sb.h')
-rw-r--r--fs/udf/udf_sb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/udf/udf_sb.h b/fs/udf/udf_sb.h
index 1c1c514..5d32c60 100644
--- a/fs/udf/udf_sb.h
+++ b/fs/udf/udf_sb.h
@@ -123,6 +123,8 @@ struct udf_sb_info {
mode_t s_umask;
gid_t s_gid;
uid_t s_uid;
+ mode_t s_fmode;
+ mode_t s_dmode;
/* Root Info */
struct timespec s_record_time;
OpenPOWER on IntegriCloud