<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/fs/ntfs/lcnalloc.c, branch v6.6.131</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.6.131</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.6.131'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2019-05-24T15:37:53+00:00</updated>
<entry>
<title>treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 96</title>
<updated>2019-05-24T15:37:53+00:00</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2019-05-22T07:51:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a1d312de7780edc972e7fc3dec913304412da11e'/>
<id>urn:sha1:a1d312de7780edc972e7fc3dec913304412da11e</id>
<content type='text'>
Based on 1 normalized pattern(s):

  this program include file is free software you can redistribute it
  and or modify it under the terms of the gnu general public license
  as published by the free software foundation either version 2 of the
  license or at your option any later version this program include
  file is distributed in the hope that it will be useful but without
  any warranty without even the implied warranty of merchantability or
  fitness for a particular purpose see the gnu general public license
  for more details you should have received a copy of the gnu general
  public license along with this program in the main directory of the
  linux [ntfs] distribution in the file copying if not write to the
  free software foundation inc 59 temple place suite 330 boston ma
  02111 1307 usa

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 43 file(s).

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Richard Fontana &lt;rfontana@redhat.com&gt;
Reviewed-by: Allison Randal &lt;allison@lohutok.net&gt;
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190520075212.517001706@linutronix.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macros</title>
<updated>2016-04-04T17:41:08+00:00</updated>
<author>
<name>Kirill A. Shutemov</name>
<email>kirill.shutemov@linux.intel.com</email>
</author>
<published>2016-04-01T12:29:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=09cbfeaf1a5a67bfb3201e0c83c810cecb2efa5a'/>
<id>urn:sha1:09cbfeaf1a5a67bfb3201e0c83c810cecb2efa5a</id>
<content type='text'>
PAGE_CACHE_{SIZE,SHIFT,MASK,ALIGN} macros were introduced *long* time
ago with promise that one day it will be possible to implement page
cache with bigger chunks than PAGE_SIZE.

This promise never materialized.  And unlikely will.

We have many places where PAGE_CACHE_SIZE assumed to be equal to
PAGE_SIZE.  And it's constant source of confusion on whether
PAGE_CACHE_* or PAGE_* constant should be used in a particular case,
especially on the border between fs and mm.

Global switching to PAGE_CACHE_SIZE != PAGE_SIZE would cause to much
breakage to be doable.

Let's stop pretending that pages in page cache are special.  They are
not.

The changes are pretty straight-forward:

 - &lt;foo&gt; &lt;&lt; (PAGE_CACHE_SHIFT - PAGE_SHIFT) -&gt; &lt;foo&gt;;

 - &lt;foo&gt; &gt;&gt; (PAGE_CACHE_SHIFT - PAGE_SHIFT) -&gt; &lt;foo&gt;;

 - PAGE_CACHE_{SIZE,SHIFT,MASK,ALIGN} -&gt; PAGE_{SIZE,SHIFT,MASK,ALIGN};

 - page_cache_get() -&gt; get_page();

 - page_cache_release() -&gt; put_page();

This patch contains automated changes generated with coccinelle using
script below.  For some reason, coccinelle doesn't patch header files.
I've called spatch for them manually.

The only adjustment after coccinelle is revert of changes to
PAGE_CAHCE_ALIGN definition: we are going to drop it later.

There are few places in the code where coccinelle didn't reach.  I'll
fix them manually in a separate patch.  Comments and documentation also
will be addressed with the separate patch.

virtual patch

@@
expression E;
@@
- E &lt;&lt; (PAGE_CACHE_SHIFT - PAGE_SHIFT)
+ E

@@
expression E;
@@
- E &gt;&gt; (PAGE_CACHE_SHIFT - PAGE_SHIFT)
+ E

@@
@@
- PAGE_CACHE_SHIFT
+ PAGE_SHIFT

@@
@@
- PAGE_CACHE_SIZE
+ PAGE_SIZE

@@
@@
- PAGE_CACHE_MASK
+ PAGE_MASK

@@
expression E;
@@
- PAGE_CACHE_ALIGN(E)
+ PAGE_ALIGN(E)

@@
expression E;
@@
- page_cache_get(E)
+ get_page(E)

@@
expression E;
@@
- page_cache_release(E)
+ put_page(E)

Signed-off-by: Kirill A. Shutemov &lt;kirill.shutemov@linux.intel.com&gt;
Acked-by: Michal Hocko &lt;mhocko@suse.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] fs/ntfs: Conversion to generic boolean</title>
<updated>2006-10-01T07:39:19+00:00</updated>
<author>
<name>Richard Knutsson</name>
<email>ricknu-0@student.ltu.se</email>
</author>
<published>2006-10-01T06:27:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c49c31115067bc7c9a51ffdc735a515151dfa3eb'/>
<id>urn:sha1:c49c31115067bc7c9a51ffdc735a515151dfa3eb</id>
<content type='text'>
Conversion of booleans to: generic-boolean.patch (2006-08-23)

Signed-off-by: Richard Knutsson &lt;ricknu-0@student.ltu.se&gt;
Signed-off-by: Anton Altaparmakov &lt;aia21@cantab.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>NTFS: - Change ntfs_cluster_alloc() to take an extra boolean parameter</title>
<updated>2005-10-04T13:36:56+00:00</updated>
<author>
<name>Anton Altaparmakov</name>
<email>aia21@cantab.net</email>
</author>
<published>2005-10-04T13:36:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=fc0fa7dc7d243afabdb3fb6a11d59a944a9c91f8'/>
<id>urn:sha1:fc0fa7dc7d243afabdb3fb6a11d59a944a9c91f8</id>
<content type='text'>
        specifying whether the cluster are being allocated to extend an
        attribute or to fill a hole.
      - Change ntfs_attr_make_non_resident() to call ntfs_cluster_alloc()
        with @is_extension set to TRUE and remove the runlist terminator
        fixup code as this is now done by ntfs_cluster_alloc().

Signed-off-by: Anton Altaparmakov &lt;aia21@cantab.net&gt;
</content>
</entry>
<entry>
<title>NTFS: - Change {__,}ntfs_cluster_free() to also take an optional attribute</title>
<updated>2005-10-04T13:24:21+00:00</updated>
<author>
<name>Anton Altaparmakov</name>
<email>aia21@cantab.net</email>
</author>
<published>2005-10-04T13:24:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=511bea5ea2b2b330e67c9e58ffb5027caebf9052'/>
<id>urn:sha1:511bea5ea2b2b330e67c9e58ffb5027caebf9052</id>
<content type='text'>
        search context as argument.  This allows calling it with the mft
        record mapped.  Update all callers.
      - Fix potential deadlock in ntfs_mft_data_extend_allocation_nolock()
	error handling by passing in the active search context when calling
	ntfs_cluster_free().

Signed-off-by: Anton Altaparmakov &lt;aia21@cantab.net&gt;
</content>
</entry>
<entry>
<title>NTFS: Change ntfs_attr_find_vcn_nolock() to also take an optional attribute</title>
<updated>2005-10-04T13:01:14+00:00</updated>
<author>
<name>Anton Altaparmakov</name>
<email>aia21@cantab.net</email>
</author>
<published>2005-10-04T13:01:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=69b41e3c0223bd38cf23e3d8f1385963089fbf22'/>
<id>urn:sha1:69b41e3c0223bd38cf23e3d8f1385963089fbf22</id>
<content type='text'>
      search context as argument.  This allows calling it with the mft
      record mapped.  Update all callers.

Signed-off-by: Anton Altaparmakov &lt;aia21@cantab.net&gt;
</content>
</entry>
<entry>
<title>NTFS: Change ntfs_cluster_free() to require a write locked runlist on entry</title>
<updated>2005-09-23T10:24:28+00:00</updated>
<author>
<name>Anton Altaparmakov</name>
<email>aia21@cantab.net</email>
</author>
<published>2005-09-23T10:24:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=715dc636b64b57aee7aee7e8b5bf4f5267a6df48'/>
<id>urn:sha1:715dc636b64b57aee7aee7e8b5bf4f5267a6df48</id>
<content type='text'>
      since we otherwise get into a lock reversal deadlock if a read locked
      runlist is passed in. In the process also change it to take an ntfs
      inode instead of a vfs inode as parameter.

Signed-off-by: Anton Altaparmakov &lt;aia21@cantab.net&gt;
</content>
</entry>
<entry>
<title>NTFS: Fix cluster (de)allocators to work when the runlist is NULL and more</title>
<updated>2005-09-08T20:09:06+00:00</updated>
<author>
<name>Anton Altaparmakov</name>
<email>aia21@cantab.net</email>
</author>
<published>2005-09-08T20:09:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=bbf1813fb8ff9d21171bf22e6d1f0e0393601e86'/>
<id>urn:sha1:bbf1813fb8ff9d21171bf22e6d1f0e0393601e86</id>
<content type='text'>
      importantly to take a locked runlist rather than them locking it
      which leads to lock reversal.

Signed-off-by: Anton Altaparmakov &lt;aia21@cantab.net&gt;
</content>
</entry>
<entry>
<title>NTFS: Fix several occurences of a bug where we would perform 'var &amp; ~const'</title>
<updated>2005-06-25T15:51:58+00:00</updated>
<author>
<name>Anton Altaparmakov</name>
<email>aia21@cantab.net</email>
</author>
<published>2005-06-25T15:51:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3bd1f4a173a3445f9919c21e775de2d8b9deacf8'/>
<id>urn:sha1:3bd1f4a173a3445f9919c21e775de2d8b9deacf8</id>
<content type='text'>
      with a 64-bit variable and a int, i.e. 32-bit, constant.  This causes
      the higher order 32-bits of the 64-bit variable to be zeroed.  To fix
      this cast the 'const' to the same 64-bit type as 'var'.

Signed-off-by: Anton Altaparmakov &lt;aia21@cantab.net&gt;
</content>
</entry>
<entry>
<title>NTFS: Fix compilation when configured read-only.</title>
<updated>2005-05-05T10:39:30+00:00</updated>
<author>
<name>Anton Altaparmakov</name>
<email>aia21@cantab.net</email>
</author>
<published>2005-03-17T10:51:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=53d59aad9326199ef5749c97513db498309a057e'/>
<id>urn:sha1:53d59aad9326199ef5749c97513db498309a057e</id>
<content type='text'>
- Add ifdef NTFS_RW around write specific code if fs/ntfs/runlist.[hc] and
  fs/ntfs/attrib.[hc].
- Minor bugfix to fs/ntfs/attrib.c::ntfs_attr_make_non_resident() where the
  runlist was not freed in all error cases.
- Add fs/ntfs/runlist.[hc]::ntfs_rl_find_vcn_nolock().

Signed-off-by: Anton Altaparmakov &lt;aia21@cantab.net&gt;
</content>
</entry>
</feed>
