Fix "symbol 'xxx' was not declared. Should it be static?" sparse warnings.
Signed-off-by: Chen Guanqiao
---
drivers/staging/media/atomisp/i2c/lm3554.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/media/atomisp/i2c/lm3554.c
b/d
Removing use of deprecated macros(S_IRUGO, SIWUGO, S_IXUGO), and replaced with
4 gidit octal.
Signed-off-by: Chen Guanqiao
---
drivers/staging/iio/meter/ade7759.c | 26 ++
1 file changed, 14 insertions(+), 12 deletions(-)
diff --git a/drivers/staging/iio/meter/ade7759
Signed-off-by: Chen Guanqiao
---
fs/fat/fat.h | 6 ++
fs/fat/inode.c| 6 ++
include/uapi/linux/msdos_fs.h | 2 ++
3 files changed, 14 insertions(+)
diff --git a/fs/fat/fat.h b/fs/fat/fat.h
index 8fc1093da47d..11cf31802489 100644
--- a/fs/fat/fat.h
+++ b
Signed-off-by: Chen Guanqiao
---
fs/fat/dir.c | 47 +++
1 file changed, 47 insertions(+)
diff --git a/fs/fat/dir.c b/fs/fat/dir.c
index 8e100c3bf72c..d5286402c829 100644
--- a/fs/fat/dir.c
+++ b/fs/fat/dir.c
@@ -881,6 +881,53 @@ static int
, Ignore the volume label in struct msdos_sb_info.
The volume label format reference from Pali Rohár testing
results in the previous mail.
v9:
1. Add necessary lock to protect write method.
2. Fix some code bug.
v8...v1:
write the patch
Chen Guanqiao (3):
fs: fat: Add fat filesystem partition
Signed-off-by: Chen Guanqiao
---
fs/fat/file.c | 145 ++
1 file changed, 145 insertions(+)
diff --git a/fs/fat/file.c b/fs/fat/file.c
index 4724cc9ad650..e87c5ae9208e 100644
--- a/fs/fat/file.c
+++ b/fs/fat/file.c
@@ -15,11 +15,46
The FAT filesystem volume label can be read with FAT_IOCTL_GET_VOLUME_LABEL
and written with FAT_IOCTL_SET_VOLUME_LABEL.
Signed-off-by: Chen Guanqiao
---
fs/fat/fat.h | 1 +
fs/fat/file.c | 51 +++
fs/fat/inode.c
Signed-off-by: Chen Guanqiao
---
fs/fat/file.c | 103 ++
1 file changed, 103 insertions(+)
diff --git a/fs/fat/file.c b/fs/fat/file.c
index 4724cc9ad650..c42c1e2e3e09 100644
--- a/fs/fat/file.c
+++ b/fs/fat/file.c
@@ -20,6 +20,25
. remove sync_dirty_buffer().
Chen Guanqiao (2):
fs: fat: add fat filesystem partition volume label in local structure
fs: fat: add ioctl method in fat filesystem driver
fs/fat/fat.h | 1 +
fs/fat/file.c | 103 ++
fs
Signed-off-by: Chen Guanqiao
---
fs/fat/fat.h | 1 +
fs/fat/inode.c| 15 ---
include/uapi/linux/msdos_fs.h | 2 ++
3 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/fs/fat/fat.h b/fs/fat/fat.h
index 8fc1093da47d..204012c94421 100644
check.
4. fixed part of return value.
5. fixed some indent issue.
6. remove sync_dirty_buffer().
Chen Guanqiao (2):
fs: fat: add fat filesystem partition volume label in local structure
fs: fat: add ioctl method in fat filesystem driver
fs/fat/fat.h | 1 +
fs/fat/file.c
Signed-off-by: Chen Guanqiao
---
fs/fat/fat.h | 1 +
fs/fat/inode.c| 15 ---
include/uapi/linux/msdos_fs.h | 2 ++
3 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/fs/fat/fat.h b/fs/fat/fat.h
index 8fc1093da47d..204012c94421 100644
Signed-off-by: Chen Guanqiao
---
fs/fat/file.c | 116 ++
1 file changed, 116 insertions(+)
diff --git a/fs/fat/file.c b/fs/fat/file.c
index 4724cc9ad650..972f9aed5b46 100644
--- a/fs/fat/file.c
+++ b/fs/fat/file.c
@@ -20,6 +20,25
13 matches
Mail list logo