1. 28 Oct, 2020 9 commits
  2. 22 Oct, 2020 15 commits
  3. 21 Oct, 2020 13 commits
    • Tetsuhiro Kohada's avatar
      exfat: remove useless check in exfat_move_file() · eae503f7
      Tetsuhiro Kohada authored
      In exfat_move_file(), the identity of source and target directory has been
      checked by the caller.
      Also, it gets stream.start_clu from file dir-entry, which is an invalid
      determination.
      Signed-off-by: default avatarTetsuhiro Kohada <kohada.t2@gmail.com>
      Acked-by: default avatarSungjong Seo <sj1557.seo@samsung.com>
      Signed-off-by: default avatarNamjae Jeon <namjae.jeon@samsung.com>
      eae503f7
    • Tetsuhiro Kohada's avatar
      exfat: remove 'rwoffset' in exfat_inode_info · 04cee52f
      Tetsuhiro Kohada authored
      Remove 'rwoffset' in exfat_inode_info and replace it with the parameter of
      exfat_readdir().
      Since rwoffset is referenced only by exfat_readdir(), it is not necessary
      a exfat_inode_info's member.
      Also, change cpos to point to the next of entry-set, and return the index
      of dir-entry via dir_entry->entry.
      Signed-off-by: default avatarTetsuhiro Kohada <kohada.t2@gmail.com>
      Acked-by: default avatarSungjong Seo <sj1557.seo@samsung.com>
      Signed-off-by: default avatarNamjae Jeon <namjae.jeon@samsung.com>
      04cee52f
    • Tetsuhiro Kohada's avatar
      exfat: replace memcpy with structure assignment · a7a24168
      Tetsuhiro Kohada authored
      Use structure assignment instead of memcpy.
      Signed-off-by: default avatarTetsuhiro Kohada <kohada.t2@gmail.com>
      Acked-by: default avatarSungjong Seo <sj1557.seo@samsung.com>
      Signed-off-by: default avatarNamjae Jeon <namjae.jeon@samsung.com>
      a7a24168
    • Tetsuhiro Kohada's avatar
      exfat: remove useless directory scan in exfat_add_entry() · 6c958a09
      Tetsuhiro Kohada authored
      There is nothing in directory just created, so there is no need to scan.
      Signed-off-by: default avatarTetsuhiro Kohada <kohada.t2@gmail.com>
      Acked-by: default avatarSungjong Seo <sj1557.seo@samsung.com>
      Signed-off-by: default avatarNamjae Jeon <namjae.jeon@samsung.com>
      6c958a09
    • Tetsuhiro Kohada's avatar
      exfat: eliminate dead code in exfat_find() · 188df41f
      Tetsuhiro Kohada authored
      The exfat_find_dir_entry() called by exfat_find() doesn't return -EEXIST.
      Therefore, the root-dir information setting is never executed.
      Signed-off-by: default avatarTetsuhiro Kohada <kohada.t2@gmail.com>
      Acked-by: default avatarSungjong Seo <sj1557.seo@samsung.com>
      Signed-off-by: default avatarNamjae Jeon <namjae.jeon@samsung.com>
      188df41f
    • Xianting Tian's avatar
      exfat: use i_blocksize() to get blocksize · 45882a6a
      Xianting Tian authored
      We alreday has the interface i_blocksize() to get blocksize,
      so use it.
      Signed-off-by: default avatarXianting Tian <tian.xianting@h3c.com>
      Signed-off-by: default avatarNamjae Jeon <namjae.jeon@samsung.com>
      45882a6a
    • Namjae Jeon's avatar
      exfat: fix misspellings using codespell tool · 9e456aea
      Namjae Jeon authored
      Sedat reported typos using codespell tool.
      
       $ codespell fs/exfat/*.c | grep -v iput
       fs/exfat/namei.c:293: upto ==> up to
       fs/exfat/nls.c:14: tabel ==> table
      
       $ codespell fs/exfat/*.h
       fs/exfat/exfat_fs.h:133: usally ==> usually
      
      Fix typos found by codespell.
      Reported-by: default avatarSedat Dilek <sedat.dilek@gmail.com>
      Signed-off-by: default avatarNamjae Jeon <namjae.jeon@samsung.com>
      9e456aea
    • Linus Torvalds's avatar
      Merge tag 'linux-watchdog-5.10-rc1' of git://www.linux-watchdog.org/linux-watchdog · f804b315
      Linus Torvalds authored
      Pull watchdog updates from Wim Van Sebroeck:
      
       - Add Toshiba Visconti watchdog driver
      
       - it87_wdt: add IT8772 + IT8784
      
       - several fixes and improvements
      
      * tag 'linux-watchdog-5.10-rc1' of git://www.linux-watchdog.org/linux-watchdog:
        watchdog: Add Toshiba Visconti watchdog driver
        watchdog: bindings: Add binding documentation for Toshiba Visconti watchdog device
        watchdog: it87_wdt: add IT8784 ID
        watchdog: sp5100_tco: Enable watchdog on Family 17h devices if disabled
        watchdog: sp5100: Fix definition of EFCH_PM_DECODEEN3
        watchdog: renesas_wdt: support handover from bootloader
        watchdog: imx7ulp: Watchdog should continue running for wait/stop mode
        watchdog: rti: Simplify with dev_err_probe()
        watchdog: davinci: Simplify with dev_err_probe()
        watchdog: cadence: Simplify with dev_err_probe()
        watchdog: remove unneeded inclusion of <uapi/linux/sched/types.h>
        watchdog: Use put_device on error
        watchdog: Fix memleak in watchdog_cdev_register
        watchdog: imx7ulp: Strictly follow the sequence for wdog operations
        watchdog: it87_wdt: add IT8772 ID
        watchdog: pcwd_usb: Avoid GFP_ATOMIC where it is not needed
        drivers: watchdog: rdc321x_wdt: Fix race condition bugs
      f804b315
    • Linus Torvalds's avatar
      Merge tag 'rtc-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux · b7769c45
      Linus Torvalds authored
      Pull RTC updates from Alexandre Belloni:
       "A new driver this cycle is making the bulk of the changes and the
        rx8010 driver has been rework to use the modern APIs.
      
        Summary:
      
        Subsystem:
         - new generic DT properties: aux-voltage-chargeable,
           trickle-voltage-millivolt
      
        New driver:
         - Microcrystal RV-3032
      
        Drivers:
         - ds1307: use aux-voltage-chargeable
         - r9701, rx8010: modernization of the driver
         - rv3028: fix clock output, trickle resistor values, RAM
           configuration registers"
      
      * tag 'rtc-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (50 commits)
        rtc: r9701: set range
        rtc: r9701: convert to devm_rtc_allocate_device
        rtc: r9701: stop setting RWKCNT
        rtc: r9701: remove useless memset
        rtc: r9701: stop setting a default time
        rtc: r9701: remove leftover comment
        rtc: rv3032: Add a driver for Microcrystal RV-3032
        dt-bindings: rtc: rv3032: add RV-3032 bindings
        dt-bindings: rtc: add trickle-voltage-millivolt
        rtc: rv3028: ensure ram configuration registers are saved
        rtc: rv3028: factorize EERD bit handling
        rtc: rv3028: fix trickle resistor values
        rtc: rv3028: fix clock output support
        rtc: mt6397: Remove unused member dev
        rtc: rv8803: simplify the return expression of rv8803_nvram_write
        rtc: meson: simplify the return expression of meson_vrtc_probe
        rtc: rx8010: rename rx8010_init_client() to rx8010_init()
        rtc: ds1307: enable rx8130's backup battery, make it chargeable optionally
        rtc: ds1307: consider aux-voltage-chargeable
        rtc: ds1307: store previous charge default per chip
        ...
      b7769c45
    • Linus Torvalds's avatar
      Merge branch 'dmi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging · 68a36336
      Linus Torvalds authored
      Pull dmi update from Jean Delvare.
      
      * 'dmi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
        Replace HTTP links with HTTPS ones: DMI/SMBIOS SUPPORT
      68a36336
    • Linus Torvalds's avatar
      Merge branch 'i2c/for-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · b5df4b5c
      Linus Torvalds authored
      Pull i2c updates from Wolfram Sang:
      
       - if a host can be a client, too, the I2C core can now use it to
         emulate SMBus HostNotify support (STM32 and R-Car added this so far)
      
       - also for client mode, a testunit has been added. It can create rare
         situations on the bus, so host controllers can be tested
      
       - a binding has been added to mark the bus as "single-master". This
         allows for better timeout detections
      
       - new driver for Mellanox Bluefield
      
       - massive refactoring of the Tegra driver
      
       - EEPROMs recognized by the at24 driver can now have custom names
      
       - rest is driver updates
      
      * 'i2c/for-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (80 commits)
        Documentation: i2c: add testunit docs to index
        i2c: tegra: Improve driver module description
        i2c: tegra: Clean up whitespaces, newlines and indentation
        i2c: tegra: Clean up and improve comments
        i2c: tegra: Clean up printk messages
        i2c: tegra: Clean up variable names
        i2c: tegra: Improve formatting of variables
        i2c: tegra: Check errors for both positive and negative values
        i2c: tegra: Factor out hardware initialization into separate function
        i2c: tegra: Factor out register polling into separate function
        i2c: tegra: Factor out packet header setup from tegra_i2c_xfer_msg()
        i2c: tegra: Factor out error recovery from tegra_i2c_xfer_msg()
        i2c: tegra: Rename wait/poll functions
        i2c: tegra: Remove "dma" variable from tegra_i2c_xfer_msg()
        i2c: tegra: Remove redundant check in tegra_i2c_issue_bus_clear()
        i2c: tegra: Remove likely/unlikely from the code
        i2c: tegra: Remove outdated barrier()
        i2c: tegra: Clean up variable types
        i2c: tegra: Reorder location of functions in the code
        i2c: tegra: Clean up probe function
        ...
      b5df4b5c
    • Linus Torvalds's avatar
      Merge tag 'ceph-for-5.10-rc1' of git://github.com/ceph/ceph-client · ed7cfefe
      Linus Torvalds authored
      Pull ceph updates from Ilya Dryomov:
      
       - a patch that removes crush_workspace_mutex (myself). CRUSH
         computations are no longer serialized and can run in parallel.
      
       - a couple new filesystem client metrics for "ceph fs top" command
         (Xiubo Li)
      
       - a fix for a very old messenger bug that affected the filesystem,
         marked for stable (myself)
      
       - assorted fixups and cleanups throughout the codebase from Jeff and
         others.
      
      * tag 'ceph-for-5.10-rc1' of git://github.com/ceph/ceph-client: (27 commits)
        libceph: clear con->out_msg on Policy::stateful_server faults
        libceph: format ceph_entity_addr nonces as unsigned
        libceph: fix ENTITY_NAME format suggestion
        libceph: move a dout in queue_con_delay()
        ceph: comment cleanups and clarifications
        ceph: break up send_cap_msg
        ceph: drop separate mdsc argument from __send_cap
        ceph: promote to unsigned long long before shifting
        ceph: don't SetPageError on readpage errors
        ceph: mark ceph_fmt_xattr() as printf-like for better type checking
        ceph: fold ceph_update_writeable_page into ceph_write_begin
        ceph: fold ceph_sync_writepages into writepage_nounlock
        ceph: fold ceph_sync_readpages into ceph_readpage
        ceph: don't call ceph_update_writeable_page from page_mkwrite
        ceph: break out writeback of incompatible snap context to separate function
        ceph: add a note explaining session reject error string
        libceph: switch to the new "osd blocklist add" command
        libceph, rbd, ceph: "blacklist" -> "blocklist"
        ceph: have ceph_writepages_start call pagevec_lookup_range_tag
        ceph: use kill_anon_super helper
        ...
      ed7cfefe
    • Dai Ngo's avatar
      NFSv4.2: Fix NFS4ERR_STALE error when doing inter server copy · 0cfcd405
      Dai Ngo authored
      NFS_FS=y as dependency of CONFIG_NFSD_V4_2_INTER_SSC still have
      build errors and some configs with NFSD=m to get NFS4ERR_STALE
      error when doing inter server copy.
      
      Added ops table in nfs_common for knfsd to access NFS client modules.
      
      Fixes: 3ac3711a ("NFSD: Fix NFS server build errors")
      Signed-off-by: default avatarDai Ngo <dai.ngo@oracle.com>
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      0cfcd405
  4. 20 Oct, 2020 3 commits
    • Linus Torvalds's avatar
      Merge tag 'xarray-5.9' of git://git.infradead.org/users/willy/xarray · c4d6fe73
      Linus Torvalds authored
      Pull XArray updates from Matthew Wilcox:
      
       - Fix the test suite after introduction of the local_lock
      
       - Fix a bug in the IDA spotted by Coverity
      
       - Change the API that allows the workingset code to delete a node
      
       - Fix xas_reload() when dealing with entries that occupy multiple
         indices
      
       - Add a few more tests to the test suite
      
       - Fix an unsigned int being shifted into an unsigned long
      
      * tag 'xarray-5.9' of git://git.infradead.org/users/willy/xarray:
        XArray: Fix xas_create_range for ranges above 4 billion
        radix-tree: fix the comment of radix_tree_next_slot()
        XArray: Fix xas_reload for multi-index entries
        XArray: Add private interface for workingset node deletion
        XArray: Fix xas_for_each_conflict documentation
        XArray: Test marked multiorder iterations
        XArray: Test two more things about xa_cmpxchg
        ida: Free allocated bitmap in error path
        radix tree test suite: Fix compilation
      c4d6fe73
    • Linus Torvalds's avatar
      Merge tag 'nfs-for-5.10-1' of git://git.linux-nfs.org/projects/anna/linux-nfs · 59f0e7eb
      Linus Torvalds authored
      Pull NFS client updates from Anna Schumaker:
       "Stable Fixes:
         - Wait for stateid updates after CLOSE/OPEN_DOWNGRADE # v5.4+
         - Fix nfs_path in case of a rename retry
         - Support EXCHID4_FLAG_SUPP_FENCE_OPS v4.2 EXCHANGE_ID flag
      
        New features and improvements:
         - Replace dprintk() calls with tracepoints
         - Make cache consistency bitmap dynamic
         - Added support for the NFS v4.2 READ_PLUS operation
         - Improvements to net namespace uniquifier
      
        Other bugfixes and cleanups:
         - Remove redundant clnt pointer
         - Don't update timeout values on connection resets
         - Remove redundant tracepoints
         - Various cleanups to comments
         - Fix oops when trying to use copy_file_range with v4.0 source server
         - Improvements to flexfiles mirrors
         - Add missing 'local_lock=posix' mount option"
      
      * tag 'nfs-for-5.10-1' of git://git.linux-nfs.org/projects/anna/linux-nfs: (55 commits)
        NFSv4.2: support EXCHGID4_FLAG_SUPP_FENCE_OPS 4.2 EXCHANGE_ID flag
        NFSv4: Fix up RCU annotations for struct nfs_netns_client
        NFS: Only reference user namespace from nfs4idmap struct instead of cred
        nfs: add missing "posix" local_lock constant table definition
        NFSv4: Use the net namespace uniquifier if it is set
        NFSv4: Clean up initialisation of uniquified client id strings
        NFS: Decode a full READ_PLUS reply
        SUNRPC: Add an xdr_align_data() function
        NFS: Add READ_PLUS hole segment decoding
        SUNRPC: Add the ability to expand holes in data pages
        SUNRPC: Split out _shift_data_right_tail()
        SUNRPC: Split out xdr_realign_pages() from xdr_align_pages()
        NFS: Add READ_PLUS data segment support
        NFS: Use xdr_page_pos() in NFSv4 decode_getacl()
        SUNRPC: Implement a xdr_page_pos() function
        SUNRPC: Split out a function for setting current page
        NFS: fix nfs_path in case of a rename retry
        fs: nfs: return per memcg count for xattr shrinkers
        NFSv4: Wait for stateid updates after CLOSE/OPEN_DOWNGRADE
        nfs: remove incorrect fallthrough label
        ...
      59f0e7eb
    • Linus Torvalds's avatar
      Merge tag 'io_uring-5.10-2020-10-20' of git://git.kernel.dk/linux-block · 4962a856
      Linus Torvalds authored
      Pull io_uring updates from Jens Axboe:
       "A mix of fixes and a few stragglers. In detail:
      
         - Revert the bogus __read_mostly that we discussed for the initial
           pull request.
      
         - Fix a merge window regression with fixed file registration error
           path handling.
      
         - Fix io-wq numa node affinities.
      
         - Series abstracting out an io_identity struct, making it both easier
           to see what the personality items are, and also easier to to adopt
           more. Use this to cover audit logging.
      
         - Fix for read-ahead disabled block condition in async buffered
           reads, and using single page read-ahead to unify what
           generic_file_buffer_read() path is used.
      
         - Series for REQ_F_COMP_LOCKED fix and removal of it (Pavel)
      
         - Poll fix (Pavel)"
      
      * tag 'io_uring-5.10-2020-10-20' of git://git.kernel.dk/linux-block: (21 commits)
        io_uring: use blk_queue_nowait() to check if NOWAIT supported
        mm: use limited read-ahead to satisfy read
        mm: mark async iocb read as NOWAIT once some data has been copied
        io_uring: fix double poll mask init
        io-wq: inherit audit loginuid and sessionid
        io_uring: use percpu counters to track inflight requests
        io_uring: assign new io_identity for task if members have changed
        io_uring: store io_identity in io_uring_task
        io_uring: COW io_identity on mismatch
        io_uring: move io identity items into separate struct
        io_uring: rely solely on work flags to determine personality.
        io_uring: pass required context in as flags
        io-wq: assign NUMA node locality if appropriate
        io_uring: fix error path cleanup in io_sqe_files_register()
        Revert "io_uring: mark io_uring_fops/io_op_defs as __read_mostly"
        io_uring: fix REQ_F_COMP_LOCKED by killing it
        io_uring: dig out COMP_LOCK from deep call chain
        io_uring: don't put a poll req under spinlock
        io_uring: don't unnecessarily clear F_LINK_TIMEOUT
        io_uring: don't set COMP_LOCKED if won't put
        ...
      4962a856