From: David Howells Date: Mon, 21 Nov 2022 15:31:03 +0000 Subject: [Cluster-devel] [PATCH] filelock: move file locking definitions to separate header file In-Reply-To: <20221120210004.381842-1-jlayton@kernel.org> References: <20221120210004.381842-1-jlayton@kernel.org> Message-ID: <416910.1669044663@warthog.procyon.org.uk> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Jeff Layton wrote: > The file locking definitions have lived in fs.h since the dawn of time, > but they are only used by a small subset of the source files that > include it. > > Move the file locking definitions to a new header file, and add the > appropriate #include directives to the source files that need them. By > doing this we trim down fs.h a bit and limit the amount of rebuilding > that has to be done when we make changes to the file locking APIs. > > Signed-off-by: Jeff Layton Reviewed-by: David Howells