login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
May
»
29
Re: [PATCHv4 01/17] VFS: introduce helpers for the s_dirty flag
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Artem Bityutskiy
Subject:
Re: [PATCHv4 01/17] VFS: introduce helpers for the s_dirty flag
Date: Saturday, May 29, 2010 - 12:59 am
On Fri, 2010-05-28 at 13:23 -0700, Andrew Morton wrote:
quoted text
> > +static inline void mark_sb_dirty(struct super_block *sb) > > +{ > > + sb->s_dirt = 1; > > +} > > +static inline void mark_sb_clean(struct super_block *sb) > > +{ > > + sb->s_dirt = 0; > > +} > > +static inline int is_sb_dirty(struct super_block *sb) > > +{ > > + return sb->s_dirt; > > +} > > A more conventional and superior naming scheme is > subsystemid_specific_function_identifier(). eg, bio_add_page() instead > of add_page_to_bio(). > > So these want to be sb_mark_dirty(), etc. > > Being very old code written by very yound people, the VFS kinda ignores > that convention, but it doesn't hurt to use it for new code. > > Feel free to ignore me if that's too much of a PITA ;)
Sure I'll re-name them, thanks! -- Best Regards, Artem Bityutskiy (Артём Битюцкий) --
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
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Uwe Kleine-König
Re: [PATCH v2] ARM: allow, but warn, when issuing ioremap() on RAM
Ingo Molnar
Re: [RFC/RFT PATCH] sched: automated per tty task groups
Josef Bacik
[PATCH] fallocate.2: add FALLOC_FL_PUNCH_HOLE flag definition
Andrew Morton
Re: [PATCH v3 0/4] Introduce hardware spinlock framework
git
:
Stefan Richter
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Bert Wesarg
[TopGit PATCH v3 06/12] list_deps: accept -i/-w
Junio C Hamano
Re: [PATCH] Detached HEAD (experimental)
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Petr Baudis
Re: PPC SHA-1 Updates in "pu"
git-commits-head
:
Linux Kernel Mailing List
libata: disable ATAPI AN by default
Linux Kernel Mailing List
ARM: 5905/1: ARM: Global ASID allocation on SMP
Linux Kernel Mailing List
misc: replace remaining __FUNCTION__ with __func__
Linux Kernel Mailing List
Disallow gcc versions 4.1.{0,1}
Linux Kernel Mailing List
timer: Try to survive timer callback preempt_count leak
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Badalian Vyacheslav
Re: tc filter flow hash question
openbsd-misc
:
Boris Goldberg
Re: HP ProLiant DL320 v. Sun Fire V125
Stuart Henderson
Re: Kuro5hin: OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD
Karel Kulhavy
Re: No Blob without Puffy
Darrin Chandler
Re: strange output on openbsd C code
Nick Holland
Re: Install OpenBSD from USB ?
Colocation donated by:
Syndicate