login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
March
»
12
Re: [PATCH 1/2] mm: move common segment checks to separate helper function (v6)
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Christoph Hellwig <hch@...>
To: Dmitriy Monakhov <dmonakhov@...>
Cc: <linux-kernel@...>, Andrew Morton <akpm@...>, Nick Piggin <npiggin@...>, <devel@...>
Subject:
Re: [PATCH 1/2] mm: move common segment checks to separate helper function (v6)
Date: Monday, March 12, 2007 - 4:27 am
On Mon, Mar 12, 2007 at 10:57:53AM +0300, Dmitriy Monakhov wrote:
quoted text
> +/* > + * Performs necessary checks before doing a write > + * > + * Adjust number of segments and amount of bytes to write. > + * Returns appropriate error code that caller should return or > + * zero in case that write should be allowed. > + */ > +inline int generic_segment_checks(const struct iovec *iov, > + unsigned long *nr_segs, size_t *count, > + unsigned long access_flags)
Why isn't this static? Also I doubt that we want to inline this function. -
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:
[PATCH 1/2] mm: move common segment checks to separate helpe...
, Dmitriy Monakhov
, (Mon Mar 12, 3:57 am)
Re: [PATCH 1/2] mm: move common segment checks to separate h...
, Christoph Hellwig
, (Thu Mar 15, 5:52 pm)
Re: [PATCH 1/2] mm: move common segment checks to separate h...
, Christoph Hellwig
, (Mon Mar 12, 4:27 am)
Re: [PATCH 1/2] mm: move common segment checks to separate h...
, Nick Piggin
, (Mon Mar 12, 4:31 am)
Re: [PATCH 1/2] mm: move common segment checks to separate h...
, Dmitriy Monakhov
, (Mon Mar 12, 2:32 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Eric Sandeen
Re: [RFC] Heads up on sys_fallocate()
git
:
linux-netdev
:
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Antonio Almeida
HTB accuracy for high speed
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
524 guests
online.
Online users
henrywatson
Syndicate