login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
May
»
25
Re: [PATCHv4 14/17] UDF: do not manipulate s_dirt directly
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Jan Kara
Subject:
Re: [PATCHv4 14/17] UDF: do not manipulate s_dirt directly
Date: Tuesday, May 25, 2010 - 7:06 am
On Tue 25-05-10 16:49:09, Artem Bityutskiy wrote:
quoted text
> From: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> > > ... use new VFS helpers instead.
Looks. OK. You can add Acked-by: Jan Kara <jack@suse.cz> Honza
quoted text
> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> > Cc: Jan Kara <jack@suse.cz> > --- > fs/udf/super.c | 6 +++--- > fs/udf/udfdecl.h | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/fs/udf/super.c b/fs/udf/super.c > index 1e4543c..998c911 100644 > --- a/fs/udf/super.c > +++ b/fs/udf/super.c > @@ -1940,7 +1940,7 @@ static int udf_fill_super(struct super_block *sb, void *options, int silent) > sb->s_op = &udf_sb_ops; > sb->s_export_op = &udf_export_ops; > sb->dq_op = NULL; > - sb->s_dirt = 0; > + mark_sb_clean(sb); > sb->s_magic = UDF_SUPER_MAGIC; > sb->s_time_gran = 1000; > > @@ -2067,7 +2067,7 @@ static void udf_error(struct super_block *sb, const char *function, > > if (!(sb->s_flags & MS_RDONLY)) { > /* mark sb error */ > - sb->s_dirt = 1; > + mark_sb_dirty(sb); > } > va_start(args, fmt); > vsnprintf(error_buf, sizeof(error_buf), fmt, args); > @@ -2127,7 +2127,7 @@ static int udf_sync_fs(struct super_block *sb, int wait) > * the buffer for IO > */ > mark_buffer_dirty(sbi->s_lvid_bh); > - sb->s_dirt = 0; > + mark_sb_clean(sb); > sbi->s_lvid_dirty = 0; > } > mutex_unlock(&sbi->s_alloc_mutex); > diff --git a/fs/udf/udfdecl.h b/fs/udf/udfdecl.h > index 9079ff7..9337e3f 100644 > --- a/fs/udf/udfdecl.h > +++ b/fs/udf/udfdecl.h > @@ -120,7 +120,7 @@ static inline void udf_updated_lvid(struct super_block *sb) > WARN_ON_ONCE(((struct logicalVolIntegrityDesc *) > bh->b_data)->integrityType != > cpu_to_le32(LVID_INTEGRITY_TYPE_OPEN)); > - sb->s_dirt = 1; > + mark_sb_dirty(sb); > UDF_SB(sb)->s_lvid_dirty = 1; > } > > -- > 1.6.6.1 >
-- Jan Kara <jack@suse.cz> SUSE Labs, CR --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCHv4 00/17] kill unnecessary SB sync wake-ups
, Artem Bityutskiy
, (Tue May 25, 6:48 am)
[PATCHv4 01/17] VFS: introduce helpers for the s_dirty flag
, Artem Bityutskiy
, (Tue May 25, 6:48 am)
[PATCHv4 02/17] AFFS: do not manipulate s_dirt directly
, Artem Bityutskiy
, (Tue May 25, 6:48 am)
[PATCHv4 04/17] BTRFS: do not manipulate s_dirt directly
, Artem Bityutskiy
, (Tue May 25, 6:48 am)
[PATCHv4 05/17] EXOFS: do not manipulate s_dirt directly
, Artem Bityutskiy
, (Tue May 25, 6:49 am)
[PATCHv4 06/17] EXT2: do not manipulate s_dirt directly
, Artem Bityutskiy
, (Tue May 25, 6:49 am)
[PATCHv4 07/17] EXT4: do not manipulate s_dirt directly
, Artem Bityutskiy
, (Tue May 25, 6:49 am)
[PATCHv4 08/17] FAT: do not manipulate s_dirt directly
, Artem Bityutskiy
, (Tue May 25, 6:49 am)
[PATCHv4 09/17] HFS: do not manipulate s_dirt directly
, Artem Bityutskiy
, (Tue May 25, 6:49 am)
[PATCHv4 10/17] HFSPLUS: do not manipulate s_dirt directly
, Artem Bityutskiy
, (Tue May 25, 6:49 am)
[PATCHv4 11/17] JFFS2: do not manipulate s_dirt directly
, Artem Bityutskiy
, (Tue May 25, 6:49 am)
[PATCHv4 12/17] reiserfs: do not manipulate s_dirt directly
, Artem Bityutskiy
, (Tue May 25, 6:49 am)
[PATCHv4 13/17] SYSV: do not manipulate s_dirt directly
, Artem Bityutskiy
, (Tue May 25, 6:49 am)
[PATCHv4 14/17] UDF: do not manipulate s_dirt directly
, Artem Bityutskiy
, (Tue May 25, 6:49 am)
[PATCHv4 15/17] UFS: do not manipulate s_dirt directly
, Artem Bityutskiy
, (Tue May 25, 6:49 am)
[PATCHv4 16/17] VFS: rename s_dirt to s_dirty
, Artem Bityutskiy
, (Tue May 25, 6:49 am)
[PATCHv4 17/17] writeback: lessen sync_supers wakeup count
, Artem Bityutskiy
, (Tue May 25, 6:49 am)
Re: [PATCHv4 14/17] UDF: do not manipulate s_dirt directly
, Jan Kara
, (Tue May 25, 7:06 am)
Re: [PATCHv4 05/17] EXOFS: do not manipulate s_dirt directly
, Boaz Harrosh
, (Wed May 26, 8:12 am)
Re: [PATCHv4 17/17] writeback: lessen sync_supers wakeup count
, Al Viro
, (Wed May 26, 11:50 pm)
Re: [PATCHv4 17/17] writeback: lessen sync_supers wakeup count
, Nick Piggin
, (Thu May 27, 12:22 am)
Re: [PATCHv4 17/17] writeback: lessen sync_supers wakeup count
, Al Viro
, (Thu May 27, 2:08 am)
Re: [PATCHv4 17/17] writeback: lessen sync_supers wakeup count
, Artem Bityutskiy
, (Thu May 27, 3:19 am)
Re: [PATCHv4 17/17] writeback: lessen sync_supers wakeup count
, Artem Bityutskiy
, (Thu May 27, 3:51 am)
Re: [PATCHv4 17/17] writeback: lessen sync_supers wakeup count
, Nick Piggin
, (Thu May 27, 5:07 am)
Re: [PATCHv4 17/17] writeback: lessen sync_supers wakeup count
, Artem Bityutskiy
, (Thu May 27, 8:21 am)
Re: [PATCHv4 17/17] writeback: lessen sync_supers wakeup count
, Nick Piggin
, (Thu May 27, 8:44 am)
Re: [PATCHv4 17/17] writeback: lessen sync_supers wakeup count
, Artem Bityutskiy
, (Thu May 27, 9:04 am)
Re: [PATCHv4 01/17] VFS: introduce helpers for the s_dirty ...
, Andrew Morton
, (Fri May 28, 1:23 pm)
Re: [PATCHv4 17/17] writeback: lessen sync_supers wakeup count
, Andrew Morton
, (Fri May 28, 1:29 pm)
Re: [PATCHv4 01/17] VFS: introduce helpers for the s_dirty ...
, Al Viro
, (Fri May 28, 2:14 pm)
Re: [PATCHv4 01/17] VFS: introduce helpers for the s_dirty ...
, Andrew Morton
, (Fri May 28, 2:17 pm)
Re: [PATCHv4 01/17] VFS: introduce helpers for the s_dirty ...
, Artem Bityutskiy
, (Sat May 29, 12:59 am)
Re: [PATCHv4 17/17] writeback: lessen sync_supers wakeup count
, Artem Bityutskiy
, (Sat May 29, 1:03 am)
Re: [PATCHv4 01/17] VFS: introduce helpers for the s_dirty ...
, Artem Bityutskiy
, (Sat May 29, 1:11 am)
Re: [PATCHv4 17/17] writeback: lessen sync_supers wakeup count
, Artem Bityutskiy
, (Mon May 31, 1:25 am)
Re: [PATCHv4 17/17] writeback: lessen sync_supers wakeup count
, Nick Piggin
, (Mon May 31, 1:38 am)
Re: [PATCHv4 17/17] writeback: lessen sync_supers wakeup count
, Artem Bityutskiy
, (Mon May 31, 2:04 am)
Re: [PATCHv4 17/17] writeback: lessen sync_supers wakeup count
, Nick Piggin
, (Mon May 31, 5:47 am)
Re: [PATCHv4 17/17] writeback: lessen sync_supers wakeup count
, Artem Bityutskiy
, (Mon May 31, 6:03 am)
Re: [PATCHv4 17/17] writeback: lessen sync_supers wakeup count
, Artem Bityutskiy
, (Mon May 31, 7:07 am)
Re: [PATCHv4 17/17] writeback: lessen sync_supers wakeup count
, Al Viro
, (Thu Jun 3, 9:26 pm)
Re: [PATCHv4 17/17] writeback: lessen sync_supers wakeup count
, Artem Bityutskiy
, (Thu Jun 3, 10:13 pm)
Re: [PATCHv4 01/17] VFS: introduce helpers for the s_dirty ...
, Artem Bityutskiy
, (Wed Jun 9, 8:49 am)
Re: [PATCHv4 01/17] VFS: introduce helpers for the s_dirty ...
, Andrew Morton
, (Wed Jun 9, 9:31 am)
Re: [PATCHv4 01/17] VFS: introduce helpers for the s_dirty ...
, Al Viro
, (Wed Jun 9, 3:33 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Christoph Lameter
[PATCH 1/2] Make page->private usable in compound pages V1
Luben Tuikov
Re: Integration of SCST in the mainstream Linux kernel
Alexey Dobriyan
Re: [2.6.22.2 review 09/84] Fix rfkill IRQ flags.
Michal Nazarewicz
Re: [PATCH] USB: Gadget: g_multi: added INF file for gadget with multiple configur...
Jesse Barnes
Re: PCI probing changes
git
:
Jakub Narebski
Re: GSoC 2008 - Mentors Wanted!
Jan Harkes
Re: git-svn and huge data and modifying the git-svn-HEAD branch directly
Andy Parkins
git-fetch fails with error code 128
Marcus Griep
Re: [PATCH 1/3] Git.pm: Add faculties to allow temp files to be cached
Junio C Hamano
Re: [JGIT PATCH 2/2] Decrease the fetch pack client buffer to the lower minimum
git-commits-head
:
Linux Kernel Mailing List
ARM: 5970/1: nomadik-gpio: fix spinlock usage
Linux Kernel Mailing List
sh-sci: update receive error handling for muxed irqs
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
Input: gpio-keys - add support for disabling gpios through sysfs
linux-netdev
:
Eric Dumazet
[PATCH] net: ALIGN/PTR_ALIGN cleanup in alloc_netdev_mq()/netdev_priv()
Patrick McHardy
[NET_SCHED]: sch_ingress: remove netfilter support
Rose, Gregory V
RE: __bad_udelay in network driver breaks build
Patrick McHardy
Re: no reassembly for outgoing packets on RAW socket
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
ropers
Re: Real men don't attack straw men
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Marcus Andree
Re: This is what Linus Torvalds calls openBSD crowd
Lars D. Noodén
Re: sshd.config and AllowUsers
Henning Brauer
Re: Sun Blade 1000?
Colocation donated by:
Syndicate