OpenCloudOS-Kernel/drivers/staging
Linus Torvalds 1751e8a6cb Rename superblock flags (MS_xyz -> SB_xyz)
This is a pure automated search-and-replace of the internal kernel
superblock flags.

The s_flags are now called SB_*, with the names and the values for the
moment mirroring the MS_* flags that they're equivalent to.

Note how the MS_xyz flags are the ones passed to the mount system call,
while the SB_xyz flags are what we then use in sb->s_flags.

The script to do this was:

    # places to look in; re security/*: it generally should *not* be
    # touched (that stuff parses mount(2) arguments directly), but
    # there are two places where we really deal with superblock flags.
    FILES="drivers/mtd drivers/staging/lustre fs ipc mm \
            include/linux/fs.h include/uapi/linux/bfs_fs.h \
            security/apparmor/apparmorfs.c security/apparmor/include/lib.h"
    # the list of MS_... constants
    SYMS="RDONLY NOSUID NODEV NOEXEC SYNCHRONOUS REMOUNT MANDLOCK \
          DIRSYNC NOATIME NODIRATIME BIND MOVE REC VERBOSE SILENT \
          POSIXACL UNBINDABLE PRIVATE SLAVE SHARED RELATIME KERNMOUNT \
          I_VERSION STRICTATIME LAZYTIME SUBMOUNT NOREMOTELOCK NOSEC BORN \
          ACTIVE NOUSER"

    SED_PROG=
    for i in $SYMS; do SED_PROG="$SED_PROG -e s/MS_$i/SB_$i/g"; done

    # we want files that contain at least one of MS_...,
    # with fs/namespace.c and fs/pnode.c excluded.
    L=$(for i in $SYMS; do git grep -w -l MS_$i $FILES; done| sort|uniq|grep -v '^fs/namespace.c'|grep -v '^fs/pnode.c')

    for f in $L; do sed -i $f $SED_PROG; done

Requested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-11-27 13:05:09 -08:00
..
android Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
board License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ccree staging: ccree: simplify ioread/iowrite 2017-11-06 16:47:04 +01:00
clocking-wizard
comedi Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
dgnc Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
emxx_udc staging: emxx_udc: Update "reserved" registers name 2017-05-15 07:42:00 +02:00
fbtft Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
fsl-dpaa2 staging: fsl-dpaa2/eth: Extra headroom in RX buffers 2017-11-03 16:19:27 +01:00
fsl-mc staging: fsl-mc/dpio: Fix incorrect comparison 2017-10-03 18:34:56 +02:00
fwserial Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
gdm724x Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
goldfish staging: goldfish: (Coding Style) Fixed parenthesis alignment. 2017-08-31 18:21:37 +02:00
greybus treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
gs_fpgaboot staging: gs_fpgaboot: pr_err() strings should end with newlines 2017-10-03 18:36:25 +02:00
iio Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
irda treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts 2017-11-21 16:35:54 -08:00
ks7010 Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
lustre Rename superblock flags (MS_xyz -> SB_xyz) 2017-11-27 13:05:09 -08:00
media treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
most treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
mt29f_spinand staging: mt29f_spinand: Enable the read ECC before program the page 2017-09-18 12:25:31 +02:00
netlogic staging: net: netlogic: Fix alignment issue 2017-10-18 16:17:14 +02:00
nvec License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
octeon staging: octeon: fix line over 80 characters 2017-08-18 15:57:17 -07:00
octeon-usb staging: octeon-usb: use correct function for hcd cleanup 2017-05-15 07:43:55 +02:00
olpc_dcon License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pi433 Merge branch 'misc.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2017-11-17 11:54:55 -08:00
rtl8188eu Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
rtl8192e Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
rtl8192u treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
rtl8712 treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
rtl8723bs Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
rtlwifi staging: rtl8822be: fix wrong dma unmap len 2017-11-03 14:49:08 +01:00
rts5208 Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
skein License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sm750fb Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
speakup treewide: Switch DEFINE_TIMER callbacks to struct timer_list * 2017-11-21 15:57:05 -08:00
typec staging: typec: tcpci: mark expected switch fall-through in tcpci_to_typec_cc 2017-10-18 16:42:28 +02:00
unisys treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
vboxvideo main drm pull request for v4.15 2017-11-15 20:42:10 -08:00
vc04_services Merge branch 'work.get_user_pages_fast' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2017-11-17 12:38:51 -08:00
vme Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
vt6655 Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
vt6656 Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
wilc1000 treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
wlan-ng USB/PHY patches for 4.15-rc1 2017-11-13 21:14:07 -08:00
xgifb Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-09-06 14:45:08 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00