correct the disoder comment between cpuset_css_offline() and
cpuset_css_free() functions.
Signed-off-by: Zhao Hongjiang
---
kernel/cpuset.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/kernel/cpuset.c b/kernel/cpuset.c
index 2ddd9b9..703bfd5 100644
--- a
get rid of the useless forward declaration of the struct cpuset cause the
below define it.
Signed-off-by: Zhao Hongjiang
---
kernel/cpuset.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/cpuset.c b/kernel/cpuset.c
index e565778..2ddd9b9 100644
--- a/kernel/cpuset.c
+++ b/kernel
for NUL terminated string, need alway set '\0' in the end.
Signed-off-by: Zhao Hongjiang
---
include/trace/events/sock.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/trace/events/sock.h b/include/trace/events/sock.h
index 779abb9..333d8b5 10
for NUL terminated string, need alway set '\0' in the end.
Signed-off-by: Zhao Hongjiang
---
samples/trace_events/trace-events-sample.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/samples/trace_events/trace-events-sample.h
b/samples/trace_events/tr
for NUL terminated string, need alway set '\0' in the end.
Signed-off-by: Zhao Hongjiang
---
fs/proc/kcore.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/proc/kcore.c b/fs/proc/kcore.c
index 0a22194..06ea155 100644
--- a/fs/proc/kcore.c
+++ b/fs/pr
The fh_lock_parent(), nfsd_truncate(), nfsd_notify_change() and nfsd_sync_dir()
fuctions were never implement and used, just remove them.
Signed-off-by: Zhao Hongjiang
---
fs/nfsd/vfs.h |5 -
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/fs/nfsd/vfs.h b/fs/nfsd/vfs.h
Without the patch, edp->urilen is increased before krealloc(). If krealloc()
fails,
edp->urilen is too high. Fix that by only updating edp->urilen if krealloc() is
successful.
Signed-off-by: Zhao Hongjiang
---
fs/exofs/sys.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions
Signed-off-by: Zhao Hongjiang
Cc: sta...@vger.kernel.org
---
linux-next use pr_debug instead of dprintk, and fix the issue.
---
fs/aio.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/aio.c b/fs/aio.c
index 3f941f2..1dc8786 100644
--- a/fs/aio.c
+++ b/fs/aio.c
From: Zhao Hongjiang
Clean the duplicate code on ext4_fill_super cause the bellow
also have it.
Signed-off-by: Zhao Hongjiang
---
fs/ext4/super.c |3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 80928f7..d21b985 100644
--- a/fs
From: Zhao Hongjiang
Clean the duplicate code on ext3_fill_super cause the bellow
also have it.
Signed-off-by: Zhao Hongjiang
---
fs/ext3/super.c |3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/fs/ext3/super.c b/fs/ext3/super.c
index 5366393..6e50223 100644
--- a/fs
From: Zhao Hongjiang
parse_options() in ext3 should return 0 when parse the mount options fails.
Signed-off-by: Zhao Hongjiang
---
fs/ext3/super.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/ext3/super.c b/fs/ext3/super.c
index 17ae5c8..ebf8312 100644
--- a
From: Zhao Hongjiang
parse_options() in ext2 should return 0 when parse the mount options fails.
Signed-off-by: Zhao Hongjiang
---
fs/ext2/super.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/ext2/super.c b/fs/ext2/super.c
index 6c205d0..fa04d02 100644
--- a
From: Zhao Hongjiang
Change return value from -EACCES to -EPERM when the permission check fails.
Signed-off-by: Zhao Hongjiang
---
This patch is based on linux-next tree
http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git
---
block/compat_ioctl.c |2 +-
block/ioctl.c
13 matches
Mail list logo